Models
Types

Models

Product

Fields

Name Type Attributes Required Comment
id Int
  • @id
  • @default(autoincrement())
Yes -
productName String
  • -
Yes -
productDesc String
  • -
Yes -
shortDesc String?
  • -
No -
grade Grade?
  • -
No -
sku String?
  • @unique
No -
price Decimal
  • -
Yes -
msrp Decimal?
  • -
No -
size String?
  • -
No -
weight Decimal?
  • -
No -
weightUnit String?
  • -
No -
features Json?
  • -
No -
quantity Int?
  • @default(0)
No -
soldQuantity Int?
  • @default(0)
No -
isActive Boolean?
  • @default(true)
No -
isAvailable Boolean?
  • @default(true)
No -
slug String?
  • @unique
No -
imageUrl String?
  • -
No -
createdAt DateTime
  • @default(now())
Yes -
updatedAt DateTime
  • @updatedAt
Yes -
categoryId Int
  • -
Yes -
category Category
  • -
Yes -
orderDetail OrderDetail[]
  • -
Yes -
cartItem CartItem[]
  • -
Yes -
productInventory ProductInventory[]
  • -
Yes -
productImage ProductImage[]
  • -
Yes -
reviews UserReview[]
  • -
Yes -

Operations

findUnique

Find zero or one Product

// Get one Product
const product = await prisma.product.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductWhereUniqueInput Yes

Output

Type: Product
Required: No
List: No

findFirst

Find first Product

// Get one Product
const product = await prisma.product.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductWhereInput No
orderBy ProductOrderByWithRelationInput[] | ProductOrderByWithRelationInput No
cursor ProductWhereUniqueInput No
take Int No
skip Int No
distinct ProductScalarFieldEnum | ProductScalarFieldEnum[] No

Output

Type: Product
Required: No
List: No

findMany

Find zero or more Product

// Get all Product
const Product = await prisma.product.findMany()
// Get first 10 Product
const Product = await prisma.product.findMany({ take: 10 })

Input

Name Type Required
where ProductWhereInput No
orderBy ProductOrderByWithRelationInput[] | ProductOrderByWithRelationInput No
cursor ProductWhereUniqueInput No
take Int No
skip Int No
distinct ProductScalarFieldEnum | ProductScalarFieldEnum[] No

Output

Type: Product
Required: Yes
List: Yes

create

Create one Product

// Create one Product
const Product = await prisma.product.create({
  data: {
    // ... data to create a Product
  }
})

Input

Name Type Required
data ProductCreateInput | ProductUncheckedCreateInput Yes

Output

Type: Product
Required: Yes
List: No

delete

Delete one Product

// Delete one Product
const Product = await prisma.product.delete({
  where: {
    // ... filter to delete one Product
  }
})

Input

Name Type Required
where ProductWhereUniqueInput Yes

Output

Type: Product
Required: No
List: No

update

Update one Product

// Update one Product
const product = await prisma.product.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data ProductUpdateInput | ProductUncheckedUpdateInput Yes
where ProductWhereUniqueInput Yes

Output

Type: Product
Required: No
List: No

deleteMany

Delete zero or more Product

// Delete a few Product
const { count } = await prisma.product.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one Product

const { count } = await prisma.product.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data ProductUpdateManyMutationInput | ProductUncheckedUpdateManyInput Yes
where ProductWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one Product

// Update or create a Product
const product = await prisma.product.upsert({
  create: {
    // ... data to create a Product
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the Product we want to update
  }
})

Input

Name Type Required
where ProductWhereUniqueInput Yes
create ProductCreateInput | ProductUncheckedCreateInput Yes
update ProductUpdateInput | ProductUncheckedUpdateInput Yes

Output

Type: Product
Required: Yes
List: No

Category

Fields

Name Type Attributes Required Comment
id Int
  • @id
  • @default(autoincrement())
Yes -
categoryName String
  • @unique
Yes -
categoryDesc String
  • -
Yes -
slug String?
  • @unique
No -
createdAt DateTime
  • @default(now())
Yes -
updatedAt DateTime
  • @updatedAt
Yes -
parentCategoryId Int?
  • -
No -
parentCategory Category?
  • -
No -
childCategories Category[]
  • -
Yes -
product Product[]
  • -
Yes -
promotionCategory PromotionCategory[]
  • -
Yes -

Operations

findUnique

Find zero or one Category

// Get one Category
const category = await prisma.category.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where CategoryWhereUniqueInput Yes

Output

Type: Category
Required: No
List: No

findFirst

Find first Category

// Get one Category
const category = await prisma.category.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where CategoryWhereInput No
orderBy CategoryOrderByWithRelationInput[] | CategoryOrderByWithRelationInput No
cursor CategoryWhereUniqueInput No
take Int No
skip Int No
distinct CategoryScalarFieldEnum | CategoryScalarFieldEnum[] No

Output

Type: Category
Required: No
List: No

findMany

Find zero or more Category

// Get all Category
const Category = await prisma.category.findMany()
// Get first 10 Category
const Category = await prisma.category.findMany({ take: 10 })

Input

Name Type Required
where CategoryWhereInput No
orderBy CategoryOrderByWithRelationInput[] | CategoryOrderByWithRelationInput No
cursor CategoryWhereUniqueInput No
take Int No
skip Int No
distinct CategoryScalarFieldEnum | CategoryScalarFieldEnum[] No

Output

Type: Category
Required: Yes
List: Yes

create

Create one Category

// Create one Category
const Category = await prisma.category.create({
  data: {
    // ... data to create a Category
  }
})

Input

Name Type Required
data CategoryCreateInput | CategoryUncheckedCreateInput Yes

Output

Type: Category
Required: Yes
List: No

delete

Delete one Category

// Delete one Category
const Category = await prisma.category.delete({
  where: {
    // ... filter to delete one Category
  }
})

Input

Name Type Required
where CategoryWhereUniqueInput Yes

Output

Type: Category
Required: No
List: No

update

Update one Category

// Update one Category
const category = await prisma.category.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data CategoryUpdateInput | CategoryUncheckedUpdateInput Yes
where CategoryWhereUniqueInput Yes

Output

Type: Category
Required: No
List: No

deleteMany

Delete zero or more Category

// Delete a few Category
const { count } = await prisma.category.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where CategoryWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one Category

const { count } = await prisma.category.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data CategoryUpdateManyMutationInput | CategoryUncheckedUpdateManyInput Yes
where CategoryWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one Category

// Update or create a Category
const category = await prisma.category.upsert({
  create: {
    // ... data to create a Category
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the Category we want to update
  }
})

Input

Name Type Required
where CategoryWhereUniqueInput Yes
create CategoryCreateInput | CategoryUncheckedCreateInput Yes
update CategoryUpdateInput | CategoryUncheckedUpdateInput Yes

Output

Type: Category
Required: Yes
List: No

ProductInventory

Fields

Name Type Attributes Required Comment
id Int
  • @id
  • @default(autoincrement())
Yes -
quantity Int
  • @default(0)
Yes -
reStockLevel Int?
  • -
No -
status InventoryStatus
  • -
Yes -
createdAt DateTime
  • @default(now())
Yes -
updatedAt DateTime
  • @updatedAt
Yes -
productId Int
  • -
Yes -
product Product
  • -
Yes -

Operations

findUnique

Find zero or one ProductInventory

// Get one ProductInventory
const productInventory = await prisma.productInventory.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductInventoryWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first ProductInventory

// Get one ProductInventory
const productInventory = await prisma.productInventory.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductInventoryWhereInput No
orderBy ProductInventoryOrderByWithRelationInput[] | ProductInventoryOrderByWithRelationInput No
cursor ProductInventoryWhereUniqueInput No
take Int No
skip Int No
distinct ProductInventoryScalarFieldEnum | ProductInventoryScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more ProductInventory

// Get all ProductInventory
const ProductInventory = await prisma.productInventory.findMany()
// Get first 10 ProductInventory
const ProductInventory = await prisma.productInventory.findMany({ take: 10 })

Input

Name Type Required
where ProductInventoryWhereInput No
orderBy ProductInventoryOrderByWithRelationInput[] | ProductInventoryOrderByWithRelationInput No
cursor ProductInventoryWhereUniqueInput No
take Int No
skip Int No
distinct ProductInventoryScalarFieldEnum | ProductInventoryScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one ProductInventory

// Create one ProductInventory
const ProductInventory = await prisma.productInventory.create({
  data: {
    // ... data to create a ProductInventory
  }
})

Input

Name Type Required
data ProductInventoryCreateInput | ProductInventoryUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one ProductInventory

// Delete one ProductInventory
const ProductInventory = await prisma.productInventory.delete({
  where: {
    // ... filter to delete one ProductInventory
  }
})

Input

Name Type Required
where ProductInventoryWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one ProductInventory

// Update one ProductInventory
const productInventory = await prisma.productInventory.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data ProductInventoryUpdateInput | ProductInventoryUncheckedUpdateInput Yes
where ProductInventoryWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more ProductInventory

// Delete a few ProductInventory
const { count } = await prisma.productInventory.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductInventoryWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one ProductInventory

const { count } = await prisma.productInventory.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data ProductInventoryUpdateManyMutationInput | ProductInventoryUncheckedUpdateManyInput Yes
where ProductInventoryWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one ProductInventory

// Update or create a ProductInventory
const productInventory = await prisma.productInventory.upsert({
  create: {
    // ... data to create a ProductInventory
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the ProductInventory we want to update
  }
})

Input

Name Type Required
where ProductInventoryWhereUniqueInput Yes
create ProductInventoryCreateInput | ProductInventoryUncheckedCreateInput Yes
update ProductInventoryUpdateInput | ProductInventoryUncheckedUpdateInput Yes

Output

Required: Yes
List: No

ProductImage

Fields

Name Type Attributes Required Comment
id Int
  • @id
  • @default(autoincrement())
Yes -
imageUrl String
  • -
Yes -
productId Int
  • -
Yes -
product Product
  • -
Yes -
createdAt DateTime
  • @default(now())
Yes -
updatedAt DateTime
  • @updatedAt
Yes -

Operations

findUnique

Find zero or one ProductImage

// Get one ProductImage
const productImage = await prisma.productImage.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductImageWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first ProductImage

// Get one ProductImage
const productImage = await prisma.productImage.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductImageWhereInput No
orderBy ProductImageOrderByWithRelationInput[] | ProductImageOrderByWithRelationInput No
cursor ProductImageWhereUniqueInput No
take Int No
skip Int No
distinct ProductImageScalarFieldEnum | ProductImageScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more ProductImage

// Get all ProductImage
const ProductImage = await prisma.productImage.findMany()
// Get first 10 ProductImage
const ProductImage = await prisma.productImage.findMany({ take: 10 })

Input

Name Type Required
where ProductImageWhereInput No
orderBy ProductImageOrderByWithRelationInput[] | ProductImageOrderByWithRelationInput No
cursor ProductImageWhereUniqueInput No
take Int No
skip Int No
distinct ProductImageScalarFieldEnum | ProductImageScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one ProductImage

// Create one ProductImage
const ProductImage = await prisma.productImage.create({
  data: {
    // ... data to create a ProductImage
  }
})

Input

Name Type Required
data ProductImageCreateInput | ProductImageUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one ProductImage

// Delete one ProductImage
const ProductImage = await prisma.productImage.delete({
  where: {
    // ... filter to delete one ProductImage
  }
})

Input

Name Type Required
where ProductImageWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one ProductImage

// Update one ProductImage
const productImage = await prisma.productImage.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data ProductImageUpdateInput | ProductImageUncheckedUpdateInput Yes
where ProductImageWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more ProductImage

// Delete a few ProductImage
const { count } = await prisma.productImage.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ProductImageWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one ProductImage

const { count } = await prisma.productImage.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data ProductImageUpdateManyMutationInput | ProductImageUncheckedUpdateManyInput Yes
where ProductImageWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one ProductImage

// Update or create a ProductImage
const productImage = await prisma.productImage.upsert({
  create: {
    // ... data to create a ProductImage
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the ProductImage we want to update
  }
})

Input

Name Type Required
where ProductImageWhereUniqueInput Yes
create ProductImageCreateInput | ProductImageUncheckedCreateInput Yes
update ProductImageUpdateInput | ProductImageUncheckedUpdateInput Yes

Output

Required: Yes
List: No

User

Fields

Name Type Attributes Required Comment
id Int
  • @id
  • @default(autoincrement())
Yes -
email String
  • @unique
Yes -
createdAt DateTime
  • @default(now())
Yes -
updatedAt DateTime
  • @updatedAt
Yes -
authenticationToken AuthenticationToken?
  • -
No -
preference Json?
  • -
No -
profile UserProfile?
  • -
No -
balance Int
  • @default(0)
Yes -
authoredReviews UserReview[]
  • -
Yes -
cart Cart?
  • -
No -
login Login?
  • -
No -
roles UserRole[]
  • -
Yes -
paymentMethod PaymentMethod[]
  • -
Yes -
orders Order[]
  • -
Yes -

Operations

findUnique

Find zero or one User

// Get one User
const user = await prisma.user.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where UserWhereUniqueInput Yes

Output

Type: User
Required: No
List: No

findFirst

Find first User

// Get one User
const user = await prisma.user.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where UserWhereInput No
orderBy UserOrderByWithRelationInput[] | UserOrderByWithRelationInput No
cursor UserWhereUniqueInput No
take Int No
skip Int No
distinct UserScalarFieldEnum | UserScalarFieldEnum[] No

Output

Type: User
Required: No
List: No

findMany

Find zero or more User

// Get all User
const User = await prisma.user.findMany()
// Get first 10 User
const User = await prisma.user.findMany({ take: 10 })

Input

Name Type Required
where UserWhereInput No
orderBy UserOrderByWithRelationInput[] | UserOrderByWithRelationInput No
cursor UserWhereUniqueInput No
take Int No
skip Int No
distinct UserScalarFieldEnum | UserScalarFieldEnum[] No

Output

Type: User
Required: Yes
List: Yes

create

Create one User

// Create one User
const User = await prisma.user.create({
  data: {
    // ... data to create a User
  }
})

Input

Name Type Required
data UserCreateInput | UserUncheckedCreateInput Yes

Output

Type: User
Required: Yes
List: No

delete

Delete one User

// Delete one User
const User = await prisma.user.delete({
  where: {
    // ... filter to delete one User
  }
})

Input

Name Type Required
where UserWhereUniqueInput Yes

Output

Type: User
Required: No
List: No

update

Update one User

// Update one User
const user = await prisma.user.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data UserUpdateInput | UserUncheckedUpdateInput Yes
where UserWhereUniqueInput Yes

Output

Type: User
Required: No
List: No

deleteMany

Delete zero or more User

// Delete a few User
const { count } = await prisma.user.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where UserWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one User

const { count } = await prisma.user.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data UserUpdateManyMutationInput | UserUncheckedUpdateManyInput Yes
where UserWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one User

// Update or create a User
const user = await prisma.user.upsert({
  create: {
    // ... data to create a User
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the User we want to update
  }
})

Input

Name Type Required
where UserWhereUniqueInput Yes
create UserCreateInput | UserUncheckedCreateInput Yes
update UserUpdateInput | UserUncheckedUpdateInput Yes

Output

Type: User
Required: Yes
List: No

Login

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(cuid())
Yes -
username String
  • @unique
Yes -
password String
  • -
Yes -
failedAttempts Int
  • @default(0)
Yes -
lockoutTime DateTime?
  • -
No -
lastLogin DateTime?
  • -
No -
userId Int
  • @unique
Yes -
user User
  • -
Yes -
createdAt DateTime
  • @default(now())
Yes -
updatedAt DateTime
  • @updatedAt
Yes -

Operations

findUnique

Find zero or one Login

// Get one Login
const login = await prisma.login.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where LoginWhereUniqueInput Yes

Output

Type: Login
Required: No
List: No

findFirst

Find first Login

// Get one Login
const login = await prisma.login.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where LoginWhereInput No
orderBy LoginOrderByWithRelationInput[] | LoginOrderByWithRelationInput No
cursor LoginWhereUniqueInput No
take Int No
skip Int No
distinct LoginScalarFieldEnum | LoginScalarFieldEnum[] No

Output

Type: Login
Required: No
List: No

findMany

Find zero or more Login

// Get all Login
const Login = await prisma.login.findMany()
// Get first 10 Login
const Login = await prisma.login.findMany({ take: 10 })

Input

Name Type Required
where LoginWhereInput No
orderBy LoginOrderByWithRelationInput[] | LoginOrderByWithRelationInput No
cursor LoginWhereUniqueInput No
take Int No
skip Int No
distinct LoginScalarFieldEnum | LoginScalarFieldEnum[] No

Output

Type: Login
Required: Yes
List: Yes

create

Create one Login

// Create one Login
const Login = await prisma.login.create({
  data: {
    // ... data to create a Login
  }
})

Input

Name Type Required
data LoginCreateInput | LoginUncheckedCreateInput Yes

Output

Type: Login
Required: Yes
List: No

delete

Delete one Login

// Delete one Login
const Login = await prisma.login.delete({
  where: {
    // ... filter to delete one Login
  }
})

Input

Name Type Required
where LoginWhereUniqueInput Yes

Output

Type: Login
Required: No
List: No

update

Update one Login

// Update one Login
const login = await prisma.login.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data LoginUpdateInput | LoginUncheckedUpdateInput Yes
where LoginWhereUniqueInput Yes

Output

Type: Login
Required: No
List: No

deleteMany

Delete zero or more Login

// Delete a few Login
const { count } = await prisma.login.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where LoginWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one Login

const { count } = await prisma.login.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data LoginUpdateManyMutationInput | LoginUncheckedUpdateManyInput Yes
where LoginWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one Login

// Update or create a Login
const login = await prisma.login.upsert({
  create: {
    // ... data to create a Login
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the Login we want to update
  }
})

Input

Name Type Required
where LoginWhereUniqueInput Yes
create LoginCreateInput | LoginUncheckedCreateInput Yes
update LoginUpdateInput | LoginUncheckedUpdateInput Yes

Output

Type: Login
Required: Yes
List: No

AuthenticationToken

Fields

Name Type Attributes Required Comment
id Int
  • @id
  • @default(autoincrement())
Yes -
token String
  • @unique
Yes -
expiry DateTime?
  • -
No -
userId Int
  • @unique
Yes -
user User
  • -
Yes -
createdAt DateTime
  • @default(now())
Yes -
updatedAt DateTime
  • @updatedAt
Yes -

Operations

findUnique

Find zero or one AuthenticationToken

// Get one AuthenticationToken
const authenticationToken = await prisma.authenticationToken.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where AuthenticationTokenWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first AuthenticationToken

// Get one AuthenticationToken
const authenticationToken = await prisma.authenticationToken.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where AuthenticationTokenWhereInput No
orderBy AuthenticationTokenOrderByWithRelationInput[] | AuthenticationTokenOrderByWithRelationInput No
cursor AuthenticationTokenWhereUniqueInput No
take Int No
skip Int No
distinct AuthenticationTokenScalarFieldEnum | AuthenticationTokenScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more AuthenticationToken

// Get all AuthenticationToken
const AuthenticationToken = await prisma.authenticationToken.findMany()
// Get first 10 AuthenticationToken
const AuthenticationToken = await prisma.authenticationToken.findMany({ take: 10 })

Input

Name Type Required
where AuthenticationTokenWhereInput No
orderBy AuthenticationTokenOrderByWithRelationInput[] | AuthenticationTokenOrderByWithRelationInput No
cursor AuthenticationTokenWhereUniqueInput No
take Int No
skip Int No
distinct AuthenticationTokenScalarFieldEnum | AuthenticationTokenScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one AuthenticationToken

// Create one AuthenticationToken
const AuthenticationToken = await prisma.authenticationToken.create({
  data: {
    // ... data to create a AuthenticationToken
  }
})

Input

Name Type Required
data AuthenticationTokenCreateInput | AuthenticationTokenUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one AuthenticationToken

// Delete one AuthenticationToken
const AuthenticationToken = await prisma.authenticationToken.delete({
  where: {
    // ... filter to delete one AuthenticationToken
  }
})

Input

Name Type Required
where AuthenticationTokenWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one AuthenticationToken

// Update one AuthenticationToken
const authenticationToken = await prisma.authenticationToken.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data AuthenticationTokenUpdateInput | AuthenticationTokenUncheckedUpdateInput Yes
where AuthenticationTokenWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more AuthenticationToken

// Delete a few AuthenticationToken
const { count } = await prisma.authenticationToken.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where AuthenticationTokenWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one AuthenticationToken

const { count } = await prisma.authenticationToken.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data AuthenticationTokenUpdateManyMutationInput | AuthenticationTokenUncheckedUpdateManyInput Yes
where AuthenticationTokenWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one AuthenticationToken

// Update or create a AuthenticationToken
const authenticationToken = await prisma.authenticationToken.upsert({
  create: {
    // ... data to create a AuthenticationToken
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the AuthenticationToken we want to update
  }
})

Input

Name Type Required
where AuthenticationTokenWhereUniqueInput Yes
create AuthenticationTokenCreateInput | AuthenticationTokenUncheckedCreateInput Yes
update AuthenticationTokenUpdateInput | AuthenticationTokenUncheckedUpdateInput Yes

Output

Required: Yes
List: No

UserProfile

Fields

Name Type Attributes Required Comment
id Int
  • @id
  • @default(autoincrement())
Yes -
firstName String?
  • -
No -
lastName String?
  • -
No -
userAddress UserAddress[]
  • -
Yes -
phone String?
  • -
No -
birthDate DateTime?
  • -
No -
gender Gender?
  • -
No -
photo String?
  • -
No -
bio String?
  • -
No -
userId Int
  • @unique
Yes -
user User
  • -
Yes -
createdAt DateTime
  • @default(now())
Yes -
updatedAt DateTime
  • @updatedAt
Yes -

Operations

findUnique

Find zero or one UserProfile

// Get one UserProfile
const userProfile = await prisma.userProfile.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where UserProfileWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first UserProfile

// Get one UserProfile
const userProfile = await prisma.userProfile.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where UserProfileWhereInput No
orderBy UserProfileOrderByWithRelationInput[] | UserProfileOrderByWithRelationInput No
cursor UserProfileWhereUniqueInput No
take Int No
skip Int No
distinct UserProfileScalarFieldEnum | UserProfileScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more UserProfile

// Get all UserProfile
const UserProfile = await prisma.userProfile.findMany()
// Get first 10 UserProfile
const UserProfile = await prisma.userProfile.findMany({ take: 10 })

Input

Name Type Required
where UserProfileWhereInput No
orderBy UserProfileOrderByWithRelationInput[] | UserProfileOrderByWithRelationInput No
cursor UserProfileWhereUniqueInput No
take Int No
skip Int No
distinct UserProfileScalarFieldEnum | UserProfileScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one UserProfile

// Create one UserProfile
const UserProfile = await prisma.userProfile.create({
  data: {
    // ... data to create a UserProfile
  }
})

Input

Name Type Required
data UserProfileCreateInput | UserProfileUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one UserProfile

// Delete one UserProfile
const UserProfile = await prisma.userProfile.delete({
  where: {
    // ... filter to delete one UserProfile
  }
})

Input

Name Type Required
where UserProfileWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one UserProfile

// Update one UserProfile
const userProfile = await prisma.userProfile.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data UserProfileUpdateInput | UserProfileUncheckedUpdateInput Yes
where UserProfileWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more UserProfile

// Delete a few UserProfile
const { count } = await prisma.userProfile.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where UserProfileWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one UserProfile

const { count } = await prisma.userProfile.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data UserProfileUpdateManyMutationInput | UserProfileUncheckedUpdateManyInput Yes
where UserProfileWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one UserProfile

// Update or create a UserProfile
const userProfile = await prisma.userProfile.upsert({
  create: {
    // ... data to create a UserProfile
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the UserProfile we want to update
  }
})

Input

Name Type Required
where UserProfileWhereUniqueInput Yes
create UserProfileCreateInput | UserProfileUncheckedCreateInput Yes
update UserProfileUpdateInput | UserProfileUncheckedUpdateInput Yes

Output

Required: Yes
List: No

UserAddress

Name Value
@@unique
  • userProfileId
  • addressId
  • id
@@index
  • userProfileId
  • addressId
  • id

Fields

Name Type Attributes Required Comment
id Int
  • @id
  • @default(autoincrement())
Yes -
userProfileId Int
  • -
Yes -
addressId Int
  • -
Yes -
userProfile UserProfile
  • -
Yes -
address Address
  • -
Yes -
isDefault Boolean
  • @default(false)
Yes -
createdAt DateTime
  • @default(now())
Yes -
updatedAt DateTime
  • @updatedAt
Yes -

Operations

findUnique

Find zero or one UserAddress

// Get one UserAddress
const userAddress = await prisma.userAddress.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where UserAddressWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first UserAddress

// Get one UserAddress
const userAddress = await prisma.userAddress.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where UserAddressWhereInput No
orderBy UserAddressOrderByWithRelationInput[] | UserAddressOrderByWithRelationInput No
cursor UserAddressWhereUniqueInput No
take Int No
skip Int No
distinct UserAddressScalarFieldEnum | UserAddressScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more UserAddress

// Get all UserAddress
const UserAddress = await prisma.userAddress.findMany()
// Get first 10 UserAddress
const UserAddress = await prisma.userAddress.findMany({ take: 10 })

Input

Name Type Required
where UserAddressWhereInput No
orderBy UserAddressOrderByWithRelationInput[] | UserAddressOrderByWithRelationInput No
cursor UserAddressWhereUniqueInput No
take Int No
skip Int No
distinct UserAddressScalarFieldEnum | UserAddressScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one UserAddress

// Create one UserAddress
const UserAddress = await prisma.userAddress.create({
  data: {
    // ... data to create a UserAddress
  }
})

Input

Name Type Required
data UserAddressCreateInput | UserAddressUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one UserAddress

// Delete one UserAddress
const UserAddress = await prisma.userAddress.delete({
  where: {
    // ... filter to delete one UserAddress
  }
})

Input

Name Type Required
where UserAddressWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one UserAddress

// Update one UserAddress
const userAddress = await prisma.userAddress.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data UserAddressUpdateInput | UserAddressUncheckedUpdateInput Yes
where UserAddressWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more UserAddress

// Delete a few UserAddress
const { count } = await prisma.userAddress.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where UserAddressWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one UserAddress

const { count } = await prisma.userAddress.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data UserAddressUpdateManyMutationInput | UserAddressUncheckedUpdateManyInput Yes
where UserAddressWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one UserAddress

// Update or create a UserAddress
const userAddress = await prisma.userAddress.upsert({
  create: {
    // ... data to create a UserAddress
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the UserAddress we want to update
  }
})

Input

Name Type Required
where UserAddressWhereUniqueInput Yes
create UserAddressCreateInput | UserAddressUncheckedCreateInput Yes
update UserAddressUpdateInput | UserAddressUncheckedUpdateInput Yes

Output

Required: Yes
List: No

Address

Fields

Name Type Attributes Required Comment
id Int
  • @id
  • @default(autoincrement())
Yes -
street String
  • -
Yes -
unit String
  • -
Yes -
city String
  • -
Yes -
zipcode String
  • -
Yes -
state String
  • -
Yes -
country String
  • -
Yes -
planet String?
  • -
No -
solarSystem String?
  • -
No -
galaxy String?
  • -
No -
localGroup String?
  • -
No -
localCluster String?
  • -
No -
universe String?
  • -
No -
userAddress UserAddress[]
  • -
Yes -
paymentDetail PaymentDetail[]
  • -
Yes -
shippingDetail ShippingDetail[]
  • -
Yes -
createdAt DateTime
  • @default(now())
Yes -
updatedAt DateTime
  • @updatedAt
Yes -

Operations

findUnique

Find zero or one Address

// Get one Address
const address = await prisma.address.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where AddressWhereUniqueInput Yes

Output

Type: Address
Required: No
List: No

findFirst

Find first Address

// Get one Address
const address = await prisma.address.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where AddressWhereInput No
orderBy AddressOrderByWithRelationInput[] | AddressOrderByWithRelationInput No
cursor AddressWhereUniqueInput No
take Int No
skip Int No
distinct AddressScalarFieldEnum | AddressScalarFieldEnum[] No

Output

Type: Address
Required: No
List: No

findMany

Find zero or more Address

// Get all Address
const Address = await prisma.address.findMany()
// Get first 10 Address
const Address = await prisma.address.findMany({ take: 10 })

Input

Name Type Required
where AddressWhereInput No
orderBy AddressOrderByWithRelationInput[] | AddressOrderByWithRelationInput No
cursor AddressWhereUniqueInput No
take Int No
skip Int No
distinct AddressScalarFieldEnum | AddressScalarFieldEnum[] No

Output

Type: Address
Required: Yes
List: Yes

create

Create one Address

// Create one Address
const Address = await prisma.address.create({
  data: {
    // ... data to create a Address
  }
})

Input

Name Type Required
data AddressCreateInput | AddressUncheckedCreateInput Yes

Output

Type: Address
Required: Yes
List: No

delete

Delete one Address

// Delete one Address
const Address = await prisma.address.delete({
  where: {
    // ... filter to delete one Address
  }
})

Input

Name Type Required
where AddressWhereUniqueInput Yes

Output

Type: Address
Required: No
List: No

update

Update one Address

// Update one Address
const address = await prisma.address.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data AddressUpdateInput | AddressUncheckedUpdateInput Yes
where AddressWhereUniqueInput Yes

Output

Type: Address
Required: No
List: No

deleteMany

Delete zero or more Address

// Delete a few Address
const { count } = await prisma.address.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where AddressWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one Address

const { count } = await prisma.address.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data AddressUpdateManyMutationInput | AddressUncheckedUpdateManyInput Yes
where AddressWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one Address

// Update or create a Address
const address = await prisma.address.upsert({
  create: {
    // ... data to create a Address
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the Address we want to update
  }
})

Input

Name Type Required
where AddressWhereUniqueInput Yes
create AddressCreateInput | AddressUncheckedCreateInput Yes
update AddressUpdateInput | AddressUncheckedUpdateInput Yes

Output

Type: Address
Required: Yes
List: No

Name Type Attributes Required Comment

Find zero or one SocialLink

// Get one SocialLink
const socialLink = await prisma.socialLink.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where SocialLinkWhereUniqueInput Yes

Output

Required: No
List: No

Find first SocialLink

// Get one SocialLink
const socialLink = await prisma.socialLink.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where SocialLinkWhereInput No
orderBy SocialLinkOrderByWithRelationInput[] | SocialLinkOrderByWithRelationInput No
cursor SocialLinkWhereUniqueInput No
take Int No
skip Int No
distinct SocialLinkScalarFieldEnum | SocialLinkScalarFieldEnum[] No

Output

Required: No
List: No

Find zero or more SocialLink

// Get all SocialLink
const SocialLink = await prisma.socialLink.findMany()
// Get first 10 SocialLink
const SocialLink = await prisma.socialLink.findMany({ take: 10 })

Input

Name Type Required
where SocialLinkWhereInput No
orderBy SocialLinkOrderByWithRelationInput[] | SocialLinkOrderByWithRelationInput No
cursor SocialLinkWhereUniqueInput No
take Int No
skip Int No
distinct SocialLinkScalarFieldEnum | SocialLinkScalarFieldEnum[] No

Output

Required: Yes
List: Yes

Create one SocialLink

// Create one SocialLink
const SocialLink = await prisma.socialLink.create({
  data: {
    // ... data to create a SocialLink
  }
})

Input

Name Type Required
data SocialLinkCreateInput | SocialLinkUncheckedCreateInput Yes

Output

Required: Yes
List: No

Delete one SocialLink

// Delete one SocialLink
const SocialLink = await prisma.socialLink.delete({
  where: {
    // ... filter to delete one SocialLink
  }
})

Input

Name Type Required
where SocialLinkWhereUniqueInput Yes

Output

Required: No
List: No

Update one SocialLink

// Update one SocialLink
const socialLink = await prisma.socialLink.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data SocialLinkUpdateInput | SocialLinkUncheckedUpdateInput Yes
where SocialLinkWhereUniqueInput Yes

Output

Required: No
List: No

Delete zero or more SocialLink

// Delete a few SocialLink
const { count } = await prisma.socialLink.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where SocialLinkWhereInput No

Output

Required: Yes
List: No

Update zero or one SocialLink

const { count } = await prisma.socialLink.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data SocialLinkUpdateManyMutationInput | SocialLinkUncheckedUpdateManyInput Yes
where SocialLinkWhereInput No

Output

Required: Yes
List: No

Create or update one SocialLink

// Update or create a SocialLink
const socialLink = await prisma.socialLink.upsert({
  create: {
    // ... data to create a SocialLink
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the SocialLink we want to update
  }
})

Input

Name Type Required
where SocialLinkWhereUniqueInput Yes
create SocialLinkCreateInput | SocialLinkUncheckedCreateInput Yes
update SocialLinkUpdateInput | SocialLinkUncheckedUpdateInput Yes

Output

Required: Yes
List: No

UserReview

Fields

Name Type Attributes Required Comment
id Int
  • @id
  • @default(autoincrement())
Yes -
title String
  • -
Yes -
message String
  • -
Yes -
rating Int
  • -
Yes -
authorId Int
  • -
Yes -
author User
  • -
Yes -
productId Int
  • -
Yes -
product Product
  • -
Yes -
createdAt DateTime
  • @default(now())
Yes -
updatedAt DateTime
  • @updatedAt
Yes -

Operations

findUnique

Find zero or one UserReview

// Get one UserReview
const userReview = await prisma.userReview.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where UserReviewWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first UserReview

// Get one UserReview
const userReview = await prisma.userReview.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where UserReviewWhereInput No
orderBy UserReviewOrderByWithRelationInput[] | UserReviewOrderByWithRelationInput No
cursor UserReviewWhereUniqueInput No
take Int No
skip Int No
distinct UserReviewScalarFieldEnum | UserReviewScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more UserReview

// Get all UserReview
const UserReview = await prisma.userReview.findMany()
// Get first 10 UserReview
const UserReview = await prisma.userReview.findMany({ take: 10 })

Input

Name Type Required
where UserReviewWhereInput No
orderBy UserReviewOrderByWithRelationInput[] | UserReviewOrderByWithRelationInput No
cursor UserReviewWhereUniqueInput No
take Int No
skip Int No
distinct UserReviewScalarFieldEnum | UserReviewScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one UserReview

// Create one UserReview
const UserReview = await prisma.userReview.create({
  data: {
    // ... data to create a UserReview
  }
})

Input

Name Type Required
data UserReviewCreateInput | UserReviewUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one UserReview

// Delete one UserReview
const UserReview = await prisma.userReview.delete({
  where: {
    // ... filter to delete one UserReview
  }
})

Input

Name Type Required
where UserReviewWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one UserReview

// Update one UserReview
const userReview = await prisma.userReview.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data UserReviewUpdateInput | UserReviewUncheckedUpdateInput Yes
where UserReviewWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more UserReview

// Delete a few UserReview
const { count } = await prisma.userReview.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where UserReviewWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one UserReview

const { count } = await prisma.userReview.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data UserReviewUpdateManyMutationInput | UserReviewUncheckedUpdateManyInput Yes
where UserReviewWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one UserReview

// Update or create a UserReview
const userReview = await prisma.userReview.upsert({
  create: {
    // ... data to create a UserReview
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the UserReview we want to update
  }
})

Input

Name Type Required
where UserReviewWhereUniqueInput Yes
create UserReviewCreateInput | UserReviewUncheckedCreateInput Yes
update UserReviewUpdateInput | UserReviewUncheckedUpdateInput Yes

Output

Required: Yes
List: No

PromotionCategory

Name Value
@@unique
  • categoryId
  • promotionId
@@index
  • categoryId
  • promotionId

Fields

Name Type Attributes Required Comment
id Int
  • @id
  • @default(autoincrement())
Yes -
category Category
  • -
Yes -
categoryId Int
  • -
Yes -
promotion Promotion
  • -
Yes -
promotionId Int
  • -
Yes -
createdAt DateTime
  • @default(now())
Yes -
updatedAt DateTime
  • @updatedAt
Yes -

Operations

findUnique

Find zero or one PromotionCategory

// Get one PromotionCategory
const promotionCategory = await prisma.promotionCategory.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where PromotionCategoryWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first PromotionCategory

// Get one PromotionCategory
const promotionCategory = await prisma.promotionCategory.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where PromotionCategoryWhereInput No
orderBy PromotionCategoryOrderByWithRelationInput[] | PromotionCategoryOrderByWithRelationInput No
cursor PromotionCategoryWhereUniqueInput No
take Int No
skip Int No
distinct PromotionCategoryScalarFieldEnum | PromotionCategoryScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more PromotionCategory

// Get all PromotionCategory
const PromotionCategory = await prisma.promotionCategory.findMany()
// Get first 10 PromotionCategory
const PromotionCategory = await prisma.promotionCategory.findMany({ take: 10 })

Input

Name Type Required
where PromotionCategoryWhereInput No
orderBy PromotionCategoryOrderByWithRelationInput[] | PromotionCategoryOrderByWithRelationInput No
cursor PromotionCategoryWhereUniqueInput No
take Int No
skip Int No
distinct PromotionCategoryScalarFieldEnum | PromotionCategoryScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one PromotionCategory

// Create one PromotionCategory
const PromotionCategory = await prisma.promotionCategory.create({
  data: {
    // ... data to create a PromotionCategory
  }
})

Input

Name Type Required
data PromotionCategoryCreateInput | PromotionCategoryUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one PromotionCategory

// Delete one PromotionCategory
const PromotionCategory = await prisma.promotionCategory.delete({
  where: {
    // ... filter to delete one PromotionCategory
  }
})

Input

Name Type Required
where PromotionCategoryWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one PromotionCategory

// Update one PromotionCategory
const promotionCategory = await prisma.promotionCategory.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data PromotionCategoryUpdateInput | PromotionCategoryUncheckedUpdateInput Yes
where PromotionCategoryWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more PromotionCategory

// Delete a few PromotionCategory
const { count } = await prisma.promotionCategory.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where PromotionCategoryWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one PromotionCategory

const { count } = await prisma.promotionCategory.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data PromotionCategoryUpdateManyMutationInput | PromotionCategoryUncheckedUpdateManyInput Yes
where PromotionCategoryWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one PromotionCategory

// Update or create a PromotionCategory
const promotionCategory = await prisma.promotionCategory.upsert({
  create: {
    // ... data to create a PromotionCategory
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the PromotionCategory we want to update
  }
})

Input

Name Type Required
where PromotionCategoryWhereUniqueInput Yes
create PromotionCategoryCreateInput | PromotionCategoryUncheckedCreateInput Yes
update PromotionCategoryUpdateInput | PromotionCategoryUncheckedUpdateInput Yes

Output

Required: Yes
List: No

Promotion

Fields

Name Type Attributes Required Comment
id Int
  • @id
  • @default(autoincrement())
Yes -
promotionCategory PromotionCategory[]
  • -
Yes -
promotionName String
  • -
Yes -
promotionDesc String
  • -
Yes -
promotionRate Int
  • -
Yes -
isActive Boolean
  • -
Yes -
startDate DateTime
  • -
Yes -
endDate DateTime
  • -
Yes -
CartItem CartItem?
  • -
No -
createdAt DateTime
  • @default(now())
Yes -
updatedAt DateTime
  • @updatedAt
Yes -

Operations

findUnique

Find zero or one Promotion

// Get one Promotion
const promotion = await prisma.promotion.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where PromotionWhereUniqueInput Yes

Output

Type: Promotion
Required: No
List: No

findFirst

Find first Promotion

// Get one Promotion
const promotion = await prisma.promotion.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where PromotionWhereInput No
orderBy PromotionOrderByWithRelationInput[] | PromotionOrderByWithRelationInput No
cursor PromotionWhereUniqueInput No
take Int No
skip Int No
distinct PromotionScalarFieldEnum | PromotionScalarFieldEnum[] No

Output

Type: Promotion
Required: No
List: No

findMany

Find zero or more Promotion

// Get all Promotion
const Promotion = await prisma.promotion.findMany()
// Get first 10 Promotion
const Promotion = await prisma.promotion.findMany({ take: 10 })

Input

Name Type Required
where PromotionWhereInput No
orderBy PromotionOrderByWithRelationInput[] | PromotionOrderByWithRelationInput No
cursor PromotionWhereUniqueInput No
take Int No
skip Int No
distinct PromotionScalarFieldEnum | PromotionScalarFieldEnum[] No

Output

Type: Promotion
Required: Yes
List: Yes

create

Create one Promotion

// Create one Promotion
const Promotion = await prisma.promotion.create({
  data: {
    // ... data to create a Promotion
  }
})

Input

Name Type Required
data PromotionCreateInput | PromotionUncheckedCreateInput Yes

Output

Type: Promotion
Required: Yes
List: No

delete

Delete one Promotion

// Delete one Promotion
const Promotion = await prisma.promotion.delete({
  where: {
    // ... filter to delete one Promotion
  }
})

Input

Name Type Required
where PromotionWhereUniqueInput Yes

Output

Type: Promotion
Required: No
List: No

update

Update one Promotion

// Update one Promotion
const promotion = await prisma.promotion.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data PromotionUpdateInput | PromotionUncheckedUpdateInput Yes
where PromotionWhereUniqueInput Yes

Output

Type: Promotion
Required: No
List: No

deleteMany

Delete zero or more Promotion

// Delete a few Promotion
const { count } = await prisma.promotion.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where PromotionWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one Promotion

const { count } = await prisma.promotion.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data PromotionUpdateManyMutationInput | PromotionUncheckedUpdateManyInput Yes
where PromotionWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one Promotion

// Update or create a Promotion
const promotion = await prisma.promotion.upsert({
  create: {
    // ... data to create a Promotion
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the Promotion we want to update
  }
})

Input

Name Type Required
where PromotionWhereUniqueInput Yes
create PromotionCreateInput | PromotionUncheckedCreateInput Yes
update PromotionUpdateInput | PromotionUncheckedUpdateInput Yes

Output

Type: Promotion
Required: Yes
List: No

CartItem

Fields

Name Type Attributes Required Comment
id Int
  • @id
  • @default(autoincrement())
Yes -
cartId Int
  • -
Yes -
cart Cart
  • -
Yes -
productId Int
  • -
Yes -
product Product
  • -
Yes -
quantity Int
  • -
Yes -
Promotion Promotion?
  • -
No -
promotionId Int?
  • @unique
No -
createdAt DateTime
  • @default(now())
Yes -
updatedAt DateTime
  • @updatedAt
Yes -

Operations

findUnique

Find zero or one CartItem

// Get one CartItem
const cartItem = await prisma.cartItem.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where CartItemWhereUniqueInput Yes

Output

Type: CartItem
Required: No
List: No

findFirst

Find first CartItem

// Get one CartItem
const cartItem = await prisma.cartItem.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where CartItemWhereInput No
orderBy CartItemOrderByWithRelationInput[] | CartItemOrderByWithRelationInput No
cursor CartItemWhereUniqueInput No
take Int No
skip Int No
distinct CartItemScalarFieldEnum | CartItemScalarFieldEnum[] No

Output

Type: CartItem
Required: No
List: No

findMany

Find zero or more CartItem

// Get all CartItem
const CartItem = await prisma.cartItem.findMany()
// Get first 10 CartItem
const CartItem = await prisma.cartItem.findMany({ take: 10 })

Input

Name Type Required
where CartItemWhereInput No
orderBy CartItemOrderByWithRelationInput[] | CartItemOrderByWithRelationInput No
cursor CartItemWhereUniqueInput No
take Int No
skip Int No
distinct CartItemScalarFieldEnum | CartItemScalarFieldEnum[] No

Output

Type: CartItem
Required: Yes
List: Yes

create

Create one CartItem

// Create one CartItem
const CartItem = await prisma.cartItem.create({
  data: {
    // ... data to create a CartItem
  }
})

Input

Name Type Required
data CartItemCreateInput | CartItemUncheckedCreateInput Yes

Output

Type: CartItem
Required: Yes
List: No

delete

Delete one CartItem

// Delete one CartItem
const CartItem = await prisma.cartItem.delete({
  where: {
    // ... filter to delete one CartItem
  }
})

Input

Name Type Required
where CartItemWhereUniqueInput Yes

Output

Type: CartItem
Required: No
List: No

update

Update one CartItem

// Update one CartItem
const cartItem = await prisma.cartItem.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data CartItemUpdateInput | CartItemUncheckedUpdateInput Yes
where CartItemWhereUniqueInput Yes

Output

Type: CartItem
Required: No
List: No

deleteMany

Delete zero or more CartItem

// Delete a few CartItem
const { count } = await prisma.cartItem.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where CartItemWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one CartItem

const { count } = await prisma.cartItem.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data CartItemUpdateManyMutationInput | CartItemUncheckedUpdateManyInput Yes
where CartItemWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one CartItem

// Update or create a CartItem
const cartItem = await prisma.cartItem.upsert({
  create: {
    // ... data to create a CartItem
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the CartItem we want to update
  }
})

Input

Name Type Required
where CartItemWhereUniqueInput Yes
create CartItemCreateInput | CartItemUncheckedCreateInput Yes
update CartItemUpdateInput | CartItemUncheckedUpdateInput Yes

Output

Type: CartItem
Required: Yes
List: No

Cart

Fields

Name Type Attributes Required Comment
id Int
  • @id
  • @default(autoincrement())
Yes -
userId Int
  • @unique
Yes -
user User
  • -
Yes -
cartItems CartItem[]
  • -
Yes -
createdAt DateTime
  • @default(now())
Yes -
updatedAt DateTime
  • @updatedAt
Yes -

Operations

findUnique

Find zero or one Cart

// Get one Cart
const cart = await prisma.cart.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where CartWhereUniqueInput Yes

Output

Type: Cart
Required: No
List: No

findFirst

Find first Cart

// Get one Cart
const cart = await prisma.cart.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where CartWhereInput No
orderBy CartOrderByWithRelationInput[] | CartOrderByWithRelationInput No
cursor CartWhereUniqueInput No
take Int No
skip Int No
distinct CartScalarFieldEnum | CartScalarFieldEnum[] No

Output

Type: Cart
Required: No
List: No

findMany

Find zero or more Cart

// Get all Cart
const Cart = await prisma.cart.findMany()
// Get first 10 Cart
const Cart = await prisma.cart.findMany({ take: 10 })

Input

Name Type Required
where CartWhereInput No
orderBy CartOrderByWithRelationInput[] | CartOrderByWithRelationInput No
cursor CartWhereUniqueInput No
take Int No
skip Int No
distinct CartScalarFieldEnum | CartScalarFieldEnum[] No

Output

Type: Cart
Required: Yes
List: Yes

create

Create one Cart

// Create one Cart
const Cart = await prisma.cart.create({
  data: {
    // ... data to create a Cart
  }
})

Input

Name Type Required
data CartCreateInput | CartUncheckedCreateInput Yes

Output

Type: Cart
Required: Yes
List: No

delete

Delete one Cart

// Delete one Cart
const Cart = await prisma.cart.delete({
  where: {
    // ... filter to delete one Cart
  }
})

Input

Name Type Required
where CartWhereUniqueInput Yes

Output

Type: Cart
Required: No
List: No

update

Update one Cart

// Update one Cart
const cart = await prisma.cart.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data CartUpdateInput | CartUncheckedUpdateInput Yes
where CartWhereUniqueInput Yes

Output

Type: Cart
Required: No
List: No

deleteMany

Delete zero or more Cart

// Delete a few Cart
const { count } = await prisma.cart.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where CartWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one Cart

const { count } = await prisma.cart.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data CartUpdateManyMutationInput | CartUncheckedUpdateManyInput Yes
where CartWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one Cart

// Update or create a Cart
const cart = await prisma.cart.upsert({
  create: {
    // ... data to create a Cart
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the Cart we want to update
  }
})

Input

Name Type Required
where CartWhereUniqueInput Yes
create CartCreateInput | CartUncheckedCreateInput Yes
update CartUpdateInput | CartUncheckedUpdateInput Yes

Output

Type: Cart
Required: Yes
List: No

Order

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(cuid())
Yes -
status OrderStatusType
  • @default(Pending)
Yes -
tax Decimal
  • -
Yes -
total Decimal
  • -
Yes -
createdAt DateTime
  • @default(now())
Yes -
userId Int
  • -
Yes -
user User
  • -
Yes -
shippingDetail ShippingDetail?
  • -
No -
paymentDetail PaymentDetail?
  • -
No -
orderDetail OrderDetail[]
  • -
Yes -
updatedAt DateTime
  • @updatedAt
Yes -

Operations

findUnique

Find zero or one Order

// Get one Order
const order = await prisma.order.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where OrderWhereUniqueInput Yes

Output

Type: Order
Required: No
List: No

findFirst

Find first Order

// Get one Order
const order = await prisma.order.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where OrderWhereInput No
orderBy OrderOrderByWithRelationInput[] | OrderOrderByWithRelationInput No
cursor OrderWhereUniqueInput No
take Int No
skip Int No
distinct OrderScalarFieldEnum | OrderScalarFieldEnum[] No

Output

Type: Order
Required: No
List: No

findMany

Find zero or more Order

// Get all Order
const Order = await prisma.order.findMany()
// Get first 10 Order
const Order = await prisma.order.findMany({ take: 10 })

Input

Name Type Required
where OrderWhereInput No
orderBy OrderOrderByWithRelationInput[] | OrderOrderByWithRelationInput No
cursor OrderWhereUniqueInput No
take Int No
skip Int No
distinct OrderScalarFieldEnum | OrderScalarFieldEnum[] No

Output

Type: Order
Required: Yes
List: Yes

create

Create one Order

// Create one Order
const Order = await prisma.order.create({
  data: {
    // ... data to create a Order
  }
})

Input

Name Type Required
data OrderCreateInput | OrderUncheckedCreateInput Yes

Output

Type: Order
Required: Yes
List: No

delete

Delete one Order

// Delete one Order
const Order = await prisma.order.delete({
  where: {
    // ... filter to delete one Order
  }
})

Input

Name Type Required
where OrderWhereUniqueInput Yes

Output

Type: Order
Required: No
List: No

update

Update one Order

// Update one Order
const order = await prisma.order.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data OrderUpdateInput | OrderUncheckedUpdateInput Yes
where OrderWhereUniqueInput Yes

Output

Type: Order
Required: No
List: No

deleteMany

Delete zero or more Order

// Delete a few Order
const { count } = await prisma.order.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where OrderWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one Order

const { count } = await prisma.order.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data OrderUpdateManyMutationInput | OrderUncheckedUpdateManyInput Yes
where OrderWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one Order

// Update or create a Order
const order = await prisma.order.upsert({
  create: {
    // ... data to create a Order
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the Order we want to update
  }
})

Input

Name Type Required
where OrderWhereUniqueInput Yes
create OrderCreateInput | OrderUncheckedCreateInput Yes
update OrderUpdateInput | OrderUncheckedUpdateInput Yes

Output

Type: Order
Required: Yes
List: No

OrderDetail

Fields

Name Type Attributes Required Comment
id Int
  • @id
Yes -
orderId String
  • -
Yes -
productId Int
  • -
Yes -
quantity Int
  • -
Yes -
total Decimal
  • -
Yes -
product Product
  • -
Yes -
order Order
  • -
Yes -
createdAt DateTime
  • @default(now())
Yes -
updatedAt DateTime
  • @updatedAt
Yes -

Operations

findUnique

Find zero or one OrderDetail

// Get one OrderDetail
const orderDetail = await prisma.orderDetail.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where OrderDetailWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first OrderDetail

// Get one OrderDetail
const orderDetail = await prisma.orderDetail.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where OrderDetailWhereInput No
orderBy OrderDetailOrderByWithRelationInput[] | OrderDetailOrderByWithRelationInput No
cursor OrderDetailWhereUniqueInput No
take Int No
skip Int No
distinct OrderDetailScalarFieldEnum | OrderDetailScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more OrderDetail

// Get all OrderDetail
const OrderDetail = await prisma.orderDetail.findMany()
// Get first 10 OrderDetail
const OrderDetail = await prisma.orderDetail.findMany({ take: 10 })

Input

Name Type Required
where OrderDetailWhereInput No
orderBy OrderDetailOrderByWithRelationInput[] | OrderDetailOrderByWithRelationInput No
cursor OrderDetailWhereUniqueInput No
take Int No
skip Int No
distinct OrderDetailScalarFieldEnum | OrderDetailScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one OrderDetail

// Create one OrderDetail
const OrderDetail = await prisma.orderDetail.create({
  data: {
    // ... data to create a OrderDetail
  }
})

Input

Name Type Required
data OrderDetailCreateInput | OrderDetailUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one OrderDetail

// Delete one OrderDetail
const OrderDetail = await prisma.orderDetail.delete({
  where: {
    // ... filter to delete one OrderDetail
  }
})

Input

Name Type Required
where OrderDetailWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one OrderDetail

// Update one OrderDetail
const orderDetail = await prisma.orderDetail.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data OrderDetailUpdateInput | OrderDetailUncheckedUpdateInput Yes
where OrderDetailWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more OrderDetail

// Delete a few OrderDetail
const { count } = await prisma.orderDetail.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where OrderDetailWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one OrderDetail

const { count } = await prisma.orderDetail.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data OrderDetailUpdateManyMutationInput | OrderDetailUncheckedUpdateManyInput Yes
where OrderDetailWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one OrderDetail

// Update or create a OrderDetail
const orderDetail = await prisma.orderDetail.upsert({
  create: {
    // ... data to create a OrderDetail
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the OrderDetail we want to update
  }
})

Input

Name Type Required
where OrderDetailWhereUniqueInput Yes
create OrderDetailCreateInput | OrderDetailUncheckedCreateInput Yes
update OrderDetailUpdateInput | OrderDetailUncheckedUpdateInput Yes

Output

Required: Yes
List: No

PaymentDetail

Fields

Name Type Attributes Required Comment
id Int
  • @id
Yes -
paymentMethod PaymentMethod[]
  • -
Yes -
billingAddressId Int
  • -
Yes -
billingAddress Address
  • -
Yes -
orderId String
  • @unique
Yes -
order Order
  • -
Yes -
createdAt DateTime
  • @default(now())
Yes -
updatedAt DateTime
  • @updatedAt
Yes -

Operations

findUnique

Find zero or one PaymentDetail

// Get one PaymentDetail
const paymentDetail = await prisma.paymentDetail.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where PaymentDetailWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first PaymentDetail

// Get one PaymentDetail
const paymentDetail = await prisma.paymentDetail.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where PaymentDetailWhereInput No
orderBy PaymentDetailOrderByWithRelationInput[] | PaymentDetailOrderByWithRelationInput No
cursor PaymentDetailWhereUniqueInput No
take Int No
skip Int No
distinct PaymentDetailScalarFieldEnum | PaymentDetailScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more PaymentDetail

// Get all PaymentDetail
const PaymentDetail = await prisma.paymentDetail.findMany()
// Get first 10 PaymentDetail
const PaymentDetail = await prisma.paymentDetail.findMany({ take: 10 })

Input

Name Type Required
where PaymentDetailWhereInput No
orderBy PaymentDetailOrderByWithRelationInput[] | PaymentDetailOrderByWithRelationInput No
cursor PaymentDetailWhereUniqueInput No
take Int No
skip Int No
distinct PaymentDetailScalarFieldEnum | PaymentDetailScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one PaymentDetail

// Create one PaymentDetail
const PaymentDetail = await prisma.paymentDetail.create({
  data: {
    // ... data to create a PaymentDetail
  }
})

Input

Name Type Required
data PaymentDetailCreateInput | PaymentDetailUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one PaymentDetail

// Delete one PaymentDetail
const PaymentDetail = await prisma.paymentDetail.delete({
  where: {
    // ... filter to delete one PaymentDetail
  }
})

Input

Name Type Required
where PaymentDetailWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one PaymentDetail

// Update one PaymentDetail
const paymentDetail = await prisma.paymentDetail.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data PaymentDetailUpdateInput | PaymentDetailUncheckedUpdateInput Yes
where PaymentDetailWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more PaymentDetail

// Delete a few PaymentDetail
const { count } = await prisma.paymentDetail.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where PaymentDetailWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one PaymentDetail

const { count } = await prisma.paymentDetail.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data PaymentDetailUpdateManyMutationInput | PaymentDetailUncheckedUpdateManyInput Yes
where PaymentDetailWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one PaymentDetail

// Update or create a PaymentDetail
const paymentDetail = await prisma.paymentDetail.upsert({
  create: {
    // ... data to create a PaymentDetail
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the PaymentDetail we want to update
  }
})

Input

Name Type Required
where PaymentDetailWhereUniqueInput Yes
create PaymentDetailCreateInput | PaymentDetailUncheckedCreateInput Yes
update PaymentDetailUpdateInput | PaymentDetailUncheckedUpdateInput Yes

Output

Required: Yes
List: No

PaymentOption

Fields

Name Type Attributes Required Comment
id Int
  • @id
Yes -
paymentType PaymentType
  • -
Yes -
paymentMethod PaymentMethod[]
  • -
Yes -
createdAt DateTime
  • @default(now())
Yes -
updatedAt DateTime
  • @updatedAt
Yes -

Operations

findUnique

Find zero or one PaymentOption

// Get one PaymentOption
const paymentOption = await prisma.paymentOption.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where PaymentOptionWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first PaymentOption

// Get one PaymentOption
const paymentOption = await prisma.paymentOption.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where PaymentOptionWhereInput No
orderBy PaymentOptionOrderByWithRelationInput[] | PaymentOptionOrderByWithRelationInput No
cursor PaymentOptionWhereUniqueInput No
take Int No
skip Int No
distinct PaymentOptionScalarFieldEnum | PaymentOptionScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more PaymentOption

// Get all PaymentOption
const PaymentOption = await prisma.paymentOption.findMany()
// Get first 10 PaymentOption
const PaymentOption = await prisma.paymentOption.findMany({ take: 10 })

Input

Name Type Required
where PaymentOptionWhereInput No
orderBy PaymentOptionOrderByWithRelationInput[] | PaymentOptionOrderByWithRelationInput No
cursor PaymentOptionWhereUniqueInput No
take Int No
skip Int No
distinct PaymentOptionScalarFieldEnum | PaymentOptionScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one PaymentOption

// Create one PaymentOption
const PaymentOption = await prisma.paymentOption.create({
  data: {
    // ... data to create a PaymentOption
  }
})

Input

Name Type Required
data PaymentOptionCreateInput | PaymentOptionUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one PaymentOption

// Delete one PaymentOption
const PaymentOption = await prisma.paymentOption.delete({
  where: {
    // ... filter to delete one PaymentOption
  }
})

Input

Name Type Required
where PaymentOptionWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one PaymentOption

// Update one PaymentOption
const paymentOption = await prisma.paymentOption.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data PaymentOptionUpdateInput | PaymentOptionUncheckedUpdateInput Yes
where PaymentOptionWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more PaymentOption

// Delete a few PaymentOption
const { count } = await prisma.paymentOption.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where PaymentOptionWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one PaymentOption

const { count } = await prisma.paymentOption.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data PaymentOptionUpdateManyMutationInput | PaymentOptionUncheckedUpdateManyInput Yes
where PaymentOptionWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one PaymentOption

// Update or create a PaymentOption
const paymentOption = await prisma.paymentOption.upsert({
  create: {
    // ... data to create a PaymentOption
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the PaymentOption we want to update
  }
})

Input

Name Type Required
where PaymentOptionWhereUniqueInput Yes
create PaymentOptionCreateInput | PaymentOptionUncheckedCreateInput Yes
update PaymentOptionUpdateInput | PaymentOptionUncheckedUpdateInput Yes

Output

Required: Yes
List: No

PaymentMethod

Fields

Name Type Attributes Required Comment
id Int
  • @id
Yes -
userId Int
  • -
Yes -
user User
  • -
Yes -
paymentDetailId Int
  • -
Yes -
paymentDetail PaymentDetail
  • -
Yes -
paymentOptionId Int
  • -
Yes -
paymentOption PaymentOption
  • -
Yes -
cardProvider String?
  • -
No -
nameOnCard String?
  • -
No -
isDefault Boolean
  • -
Yes -
createdAt DateTime
  • @default(now())
Yes -
updatedAt DateTime
  • @updatedAt
Yes -

Operations

findUnique

Find zero or one PaymentMethod

// Get one PaymentMethod
const paymentMethod = await prisma.paymentMethod.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where PaymentMethodWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first PaymentMethod

// Get one PaymentMethod
const paymentMethod = await prisma.paymentMethod.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where PaymentMethodWhereInput No
orderBy PaymentMethodOrderByWithRelationInput[] | PaymentMethodOrderByWithRelationInput No
cursor PaymentMethodWhereUniqueInput No
take Int No
skip Int No
distinct PaymentMethodScalarFieldEnum | PaymentMethodScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more PaymentMethod

// Get all PaymentMethod
const PaymentMethod = await prisma.paymentMethod.findMany()
// Get first 10 PaymentMethod
const PaymentMethod = await prisma.paymentMethod.findMany({ take: 10 })

Input

Name Type Required
where PaymentMethodWhereInput No
orderBy PaymentMethodOrderByWithRelationInput[] | PaymentMethodOrderByWithRelationInput No
cursor PaymentMethodWhereUniqueInput No
take Int No
skip Int No
distinct PaymentMethodScalarFieldEnum | PaymentMethodScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one PaymentMethod

// Create one PaymentMethod
const PaymentMethod = await prisma.paymentMethod.create({
  data: {
    // ... data to create a PaymentMethod
  }
})

Input

Name Type Required
data PaymentMethodCreateInput | PaymentMethodUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one PaymentMethod

// Delete one PaymentMethod
const PaymentMethod = await prisma.paymentMethod.delete({
  where: {
    // ... filter to delete one PaymentMethod
  }
})

Input

Name Type Required
where PaymentMethodWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one PaymentMethod

// Update one PaymentMethod
const paymentMethod = await prisma.paymentMethod.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data PaymentMethodUpdateInput | PaymentMethodUncheckedUpdateInput Yes
where PaymentMethodWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more PaymentMethod

// Delete a few PaymentMethod
const { count } = await prisma.paymentMethod.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where PaymentMethodWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one PaymentMethod

const { count } = await prisma.paymentMethod.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data PaymentMethodUpdateManyMutationInput | PaymentMethodUncheckedUpdateManyInput Yes
where PaymentMethodWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one PaymentMethod

// Update or create a PaymentMethod
const paymentMethod = await prisma.paymentMethod.upsert({
  create: {
    // ... data to create a PaymentMethod
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the PaymentMethod we want to update
  }
})

Input

Name Type Required
where PaymentMethodWhereUniqueInput Yes
create PaymentMethodCreateInput | PaymentMethodUncheckedCreateInput Yes
update PaymentMethodUpdateInput | PaymentMethodUncheckedUpdateInput Yes

Output

Required: Yes
List: No

ShippingDetail

Fields

Name Type Attributes Required Comment
id Int
  • @id
Yes -
estimatedArrival DateTime
  • -
Yes -
shippingAddressId Int
  • -
Yes -
shippingAddress Address
  • -
Yes -
shippingMethodId Int
  • -
Yes -
shippingMethod ShippingMethod
  • -
Yes -
orderId String
  • @unique
Yes -
order Order
  • -
Yes -
createdAt DateTime
  • @default(now())
Yes -
updatedAt DateTime
  • @updatedAt
Yes -

Operations

findUnique

Find zero or one ShippingDetail

// Get one ShippingDetail
const shippingDetail = await prisma.shippingDetail.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ShippingDetailWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first ShippingDetail

// Get one ShippingDetail
const shippingDetail = await prisma.shippingDetail.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ShippingDetailWhereInput No
orderBy ShippingDetailOrderByWithRelationInput[] | ShippingDetailOrderByWithRelationInput No
cursor ShippingDetailWhereUniqueInput No
take Int No
skip Int No
distinct ShippingDetailScalarFieldEnum | ShippingDetailScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more ShippingDetail

// Get all ShippingDetail
const ShippingDetail = await prisma.shippingDetail.findMany()
// Get first 10 ShippingDetail
const ShippingDetail = await prisma.shippingDetail.findMany({ take: 10 })

Input

Name Type Required
where ShippingDetailWhereInput No
orderBy ShippingDetailOrderByWithRelationInput[] | ShippingDetailOrderByWithRelationInput No
cursor ShippingDetailWhereUniqueInput No
take Int No
skip Int No
distinct ShippingDetailScalarFieldEnum | ShippingDetailScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one ShippingDetail

// Create one ShippingDetail
const ShippingDetail = await prisma.shippingDetail.create({
  data: {
    // ... data to create a ShippingDetail
  }
})

Input

Name Type Required
data ShippingDetailCreateInput | ShippingDetailUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one ShippingDetail

// Delete one ShippingDetail
const ShippingDetail = await prisma.shippingDetail.delete({
  where: {
    // ... filter to delete one ShippingDetail
  }
})

Input

Name Type Required
where ShippingDetailWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one ShippingDetail

// Update one ShippingDetail
const shippingDetail = await prisma.shippingDetail.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data ShippingDetailUpdateInput | ShippingDetailUncheckedUpdateInput Yes
where ShippingDetailWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more ShippingDetail

// Delete a few ShippingDetail
const { count } = await prisma.shippingDetail.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ShippingDetailWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one ShippingDetail

const { count } = await prisma.shippingDetail.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data ShippingDetailUpdateManyMutationInput | ShippingDetailUncheckedUpdateManyInput Yes
where ShippingDetailWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one ShippingDetail

// Update or create a ShippingDetail
const shippingDetail = await prisma.shippingDetail.upsert({
  create: {
    // ... data to create a ShippingDetail
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the ShippingDetail we want to update
  }
})

Input

Name Type Required
where ShippingDetailWhereUniqueInput Yes
create ShippingDetailCreateInput | ShippingDetailUncheckedCreateInput Yes
update ShippingDetailUpdateInput | ShippingDetailUncheckedUpdateInput Yes

Output

Required: Yes
List: No

ShippingMethod

Fields

Name Type Attributes Required Comment
id Int
  • @id
Yes -
shippingDetail ShippingDetail[]
  • -
Yes -
name String
  • -
Yes -
price Decimal
  • -
Yes -
createdAt DateTime
  • @default(now())
Yes -
updatedAt DateTime
  • @updatedAt
Yes -

Operations

findUnique

Find zero or one ShippingMethod

// Get one ShippingMethod
const shippingMethod = await prisma.shippingMethod.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ShippingMethodWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first ShippingMethod

// Get one ShippingMethod
const shippingMethod = await prisma.shippingMethod.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ShippingMethodWhereInput No
orderBy ShippingMethodOrderByWithRelationInput[] | ShippingMethodOrderByWithRelationInput No
cursor ShippingMethodWhereUniqueInput No
take Int No
skip Int No
distinct ShippingMethodScalarFieldEnum | ShippingMethodScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more ShippingMethod

// Get all ShippingMethod
const ShippingMethod = await prisma.shippingMethod.findMany()
// Get first 10 ShippingMethod
const ShippingMethod = await prisma.shippingMethod.findMany({ take: 10 })

Input

Name Type Required
where ShippingMethodWhereInput No
orderBy ShippingMethodOrderByWithRelationInput[] | ShippingMethodOrderByWithRelationInput No
cursor ShippingMethodWhereUniqueInput No
take Int No
skip Int No
distinct ShippingMethodScalarFieldEnum | ShippingMethodScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one ShippingMethod

// Create one ShippingMethod
const ShippingMethod = await prisma.shippingMethod.create({
  data: {
    // ... data to create a ShippingMethod
  }
})

Input

Name Type Required
data ShippingMethodCreateInput | ShippingMethodUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one ShippingMethod

// Delete one ShippingMethod
const ShippingMethod = await prisma.shippingMethod.delete({
  where: {
    // ... filter to delete one ShippingMethod
  }
})

Input

Name Type Required
where ShippingMethodWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one ShippingMethod

// Update one ShippingMethod
const shippingMethod = await prisma.shippingMethod.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data ShippingMethodUpdateInput | ShippingMethodUncheckedUpdateInput Yes
where ShippingMethodWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more ShippingMethod

// Delete a few ShippingMethod
const { count } = await prisma.shippingMethod.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where ShippingMethodWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one ShippingMethod

const { count } = await prisma.shippingMethod.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data ShippingMethodUpdateManyMutationInput | ShippingMethodUncheckedUpdateManyInput Yes
where ShippingMethodWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one ShippingMethod

// Update or create a ShippingMethod
const shippingMethod = await prisma.shippingMethod.upsert({
  create: {
    // ... data to create a ShippingMethod
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the ShippingMethod we want to update
  }
})

Input

Name Type Required
where ShippingMethodWhereUniqueInput Yes
create ShippingMethodCreateInput | ShippingMethodUncheckedCreateInput Yes
update ShippingMethodUpdateInput | ShippingMethodUncheckedUpdateInput Yes

Output

Required: Yes
List: No

Invoice

Fields

Name Type Attributes Required Comment
id String
  • @id
  • @default(cuid())
Yes -

Operations

findUnique

Find zero or one Invoice

// Get one Invoice
const invoice = await prisma.invoice.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where InvoiceWhereUniqueInput Yes

Output

Type: Invoice
Required: No
List: No

findFirst

Find first Invoice

// Get one Invoice
const invoice = await prisma.invoice.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where InvoiceWhereInput No
orderBy InvoiceOrderByWithRelationInput[] | InvoiceOrderByWithRelationInput No
cursor InvoiceWhereUniqueInput No
take Int No
skip Int No
distinct InvoiceScalarFieldEnum | InvoiceScalarFieldEnum[] No

Output

Type: Invoice
Required: No
List: No

findMany

Find zero or more Invoice

// Get all Invoice
const Invoice = await prisma.invoice.findMany()
// Get first 10 Invoice
const Invoice = await prisma.invoice.findMany({ take: 10 })

Input

Name Type Required
where InvoiceWhereInput No
orderBy InvoiceOrderByWithRelationInput[] | InvoiceOrderByWithRelationInput No
cursor InvoiceWhereUniqueInput No
take Int No
skip Int No
distinct InvoiceScalarFieldEnum | InvoiceScalarFieldEnum[] No

Output

Type: Invoice
Required: Yes
List: Yes

create

Create one Invoice

// Create one Invoice
const Invoice = await prisma.invoice.create({
  data: {
    // ... data to create a Invoice
  }
})

Input

Name Type Required
data InvoiceCreateInput | InvoiceUncheckedCreateInput No

Output

Type: Invoice
Required: Yes
List: No

delete

Delete one Invoice

// Delete one Invoice
const Invoice = await prisma.invoice.delete({
  where: {
    // ... filter to delete one Invoice
  }
})

Input

Name Type Required
where InvoiceWhereUniqueInput Yes

Output

Type: Invoice
Required: No
List: No

update

Update one Invoice

// Update one Invoice
const invoice = await prisma.invoice.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data InvoiceUpdateInput | InvoiceUncheckedUpdateInput Yes
where InvoiceWhereUniqueInput Yes

Output

Type: Invoice
Required: No
List: No

deleteMany

Delete zero or more Invoice

// Delete a few Invoice
const { count } = await prisma.invoice.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where InvoiceWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one Invoice

const { count } = await prisma.invoice.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data InvoiceUpdateManyMutationInput | InvoiceUncheckedUpdateManyInput Yes
where InvoiceWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one Invoice

// Update or create a Invoice
const invoice = await prisma.invoice.upsert({
  create: {
    // ... data to create a Invoice
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the Invoice we want to update
  }
})

Input

Name Type Required
where InvoiceWhereUniqueInput Yes
create InvoiceCreateInput | InvoiceUncheckedCreateInput Yes
update InvoiceUpdateInput | InvoiceUncheckedUpdateInput Yes

Output

Type: Invoice
Required: Yes
List: No

UserRole

Name Value
@@unique
  • userId
  • roleId
@@index
  • userId
  • roleId

Fields

Name Type Attributes Required Comment
id Int
  • @id
  • @default(autoincrement())
Yes -
user User
  • -
Yes -
role Role
  • -
Yes -
userId Int
  • -
Yes -
roleId Int
  • -
Yes -
createdAt DateTime
  • @default(now())
Yes -
updatedAt DateTime
  • @updatedAt
Yes -

Operations

findUnique

Find zero or one UserRole

// Get one UserRole
const userRole = await prisma.userRole.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where UserRoleWhereUniqueInput Yes

Output

Type: UserRole
Required: No
List: No

findFirst

Find first UserRole

// Get one UserRole
const userRole = await prisma.userRole.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where UserRoleWhereInput No
orderBy UserRoleOrderByWithRelationInput[] | UserRoleOrderByWithRelationInput No
cursor UserRoleWhereUniqueInput No
take Int No
skip Int No
distinct UserRoleScalarFieldEnum | UserRoleScalarFieldEnum[] No

Output

Type: UserRole
Required: No
List: No

findMany

Find zero or more UserRole

// Get all UserRole
const UserRole = await prisma.userRole.findMany()
// Get first 10 UserRole
const UserRole = await prisma.userRole.findMany({ take: 10 })

Input

Name Type Required
where UserRoleWhereInput No
orderBy UserRoleOrderByWithRelationInput[] | UserRoleOrderByWithRelationInput No
cursor UserRoleWhereUniqueInput No
take Int No
skip Int No
distinct UserRoleScalarFieldEnum | UserRoleScalarFieldEnum[] No

Output

Type: UserRole
Required: Yes
List: Yes

create

Create one UserRole

// Create one UserRole
const UserRole = await prisma.userRole.create({
  data: {
    // ... data to create a UserRole
  }
})

Input

Name Type Required
data UserRoleCreateInput | UserRoleUncheckedCreateInput Yes

Output

Type: UserRole
Required: Yes
List: No

delete

Delete one UserRole

// Delete one UserRole
const UserRole = await prisma.userRole.delete({
  where: {
    // ... filter to delete one UserRole
  }
})

Input

Name Type Required
where UserRoleWhereUniqueInput Yes

Output

Type: UserRole
Required: No
List: No

update

Update one UserRole

// Update one UserRole
const userRole = await prisma.userRole.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data UserRoleUpdateInput | UserRoleUncheckedUpdateInput Yes
where UserRoleWhereUniqueInput Yes

Output

Type: UserRole
Required: No
List: No

deleteMany

Delete zero or more UserRole

// Delete a few UserRole
const { count } = await prisma.userRole.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where UserRoleWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one UserRole

const { count } = await prisma.userRole.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data UserRoleUpdateManyMutationInput | UserRoleUncheckedUpdateManyInput Yes
where UserRoleWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one UserRole

// Update or create a UserRole
const userRole = await prisma.userRole.upsert({
  create: {
    // ... data to create a UserRole
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the UserRole we want to update
  }
})

Input

Name Type Required
where UserRoleWhereUniqueInput Yes
create UserRoleCreateInput | UserRoleUncheckedCreateInput Yes
update UserRoleUpdateInput | UserRoleUncheckedUpdateInput Yes

Output

Type: UserRole
Required: Yes
List: No

Role

Fields

Name Type Attributes Required Comment
id Int
  • @id
  • @default(autoincrement())
Yes -
name String
  • @unique
Yes -
users UserRole[]
  • -
Yes -
permissions RolePermission[]
  • -
Yes -
createdAt DateTime
  • @default(now())
Yes -
updatedAt DateTime
  • @updatedAt
Yes -

Operations

findUnique

Find zero or one Role

// Get one Role
const role = await prisma.role.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where RoleWhereUniqueInput Yes

Output

Type: Role
Required: No
List: No

findFirst

Find first Role

// Get one Role
const role = await prisma.role.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where RoleWhereInput No
orderBy RoleOrderByWithRelationInput[] | RoleOrderByWithRelationInput No
cursor RoleWhereUniqueInput No
take Int No
skip Int No
distinct RoleScalarFieldEnum | RoleScalarFieldEnum[] No

Output

Type: Role
Required: No
List: No

findMany

Find zero or more Role

// Get all Role
const Role = await prisma.role.findMany()
// Get first 10 Role
const Role = await prisma.role.findMany({ take: 10 })

Input

Name Type Required
where RoleWhereInput No
orderBy RoleOrderByWithRelationInput[] | RoleOrderByWithRelationInput No
cursor RoleWhereUniqueInput No
take Int No
skip Int No
distinct RoleScalarFieldEnum | RoleScalarFieldEnum[] No

Output

Type: Role
Required: Yes
List: Yes

create

Create one Role

// Create one Role
const Role = await prisma.role.create({
  data: {
    // ... data to create a Role
  }
})

Input

Name Type Required
data RoleCreateInput | RoleUncheckedCreateInput Yes

Output

Type: Role
Required: Yes
List: No

delete

Delete one Role

// Delete one Role
const Role = await prisma.role.delete({
  where: {
    // ... filter to delete one Role
  }
})

Input

Name Type Required
where RoleWhereUniqueInput Yes

Output

Type: Role
Required: No
List: No

update

Update one Role

// Update one Role
const role = await prisma.role.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data RoleUpdateInput | RoleUncheckedUpdateInput Yes
where RoleWhereUniqueInput Yes

Output

Type: Role
Required: No
List: No

deleteMany

Delete zero or more Role

// Delete a few Role
const { count } = await prisma.role.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where RoleWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one Role

const { count } = await prisma.role.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data RoleUpdateManyMutationInput | RoleUncheckedUpdateManyInput Yes
where RoleWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one Role

// Update or create a Role
const role = await prisma.role.upsert({
  create: {
    // ... data to create a Role
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the Role we want to update
  }
})

Input

Name Type Required
where RoleWhereUniqueInput Yes
create RoleCreateInput | RoleUncheckedCreateInput Yes
update RoleUpdateInput | RoleUncheckedUpdateInput Yes

Output

Type: Role
Required: Yes
List: No

RolePermission

Name Value
@@unique
  • roleId
  • permissionId
@@index
  • roleId
  • permissionId

Fields

Name Type Attributes Required Comment
id Int
  • @id
  • @default(autoincrement())
Yes -
role Role
  • -
Yes -
permission Permission
  • -
Yes -
roleId Int
  • -
Yes -
permissionId Int
  • -
Yes -
createdAt DateTime
  • @default(now())
Yes -
updatedAt DateTime
  • @updatedAt
Yes -

Operations

findUnique

Find zero or one RolePermission

// Get one RolePermission
const rolePermission = await prisma.rolePermission.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where RolePermissionWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first RolePermission

// Get one RolePermission
const rolePermission = await prisma.rolePermission.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where RolePermissionWhereInput No
orderBy RolePermissionOrderByWithRelationInput[] | RolePermissionOrderByWithRelationInput No
cursor RolePermissionWhereUniqueInput No
take Int No
skip Int No
distinct RolePermissionScalarFieldEnum | RolePermissionScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more RolePermission

// Get all RolePermission
const RolePermission = await prisma.rolePermission.findMany()
// Get first 10 RolePermission
const RolePermission = await prisma.rolePermission.findMany({ take: 10 })

Input

Name Type Required
where RolePermissionWhereInput No
orderBy RolePermissionOrderByWithRelationInput[] | RolePermissionOrderByWithRelationInput No
cursor RolePermissionWhereUniqueInput No
take Int No
skip Int No
distinct RolePermissionScalarFieldEnum | RolePermissionScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one RolePermission

// Create one RolePermission
const RolePermission = await prisma.rolePermission.create({
  data: {
    // ... data to create a RolePermission
  }
})

Input

Name Type Required
data RolePermissionCreateInput | RolePermissionUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one RolePermission

// Delete one RolePermission
const RolePermission = await prisma.rolePermission.delete({
  where: {
    // ... filter to delete one RolePermission
  }
})

Input

Name Type Required
where RolePermissionWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one RolePermission

// Update one RolePermission
const rolePermission = await prisma.rolePermission.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data RolePermissionUpdateInput | RolePermissionUncheckedUpdateInput Yes
where RolePermissionWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more RolePermission

// Delete a few RolePermission
const { count } = await prisma.rolePermission.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where RolePermissionWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one RolePermission

const { count } = await prisma.rolePermission.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data RolePermissionUpdateManyMutationInput | RolePermissionUncheckedUpdateManyInput Yes
where RolePermissionWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one RolePermission

// Update or create a RolePermission
const rolePermission = await prisma.rolePermission.upsert({
  create: {
    // ... data to create a RolePermission
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the RolePermission we want to update
  }
})

Input

Name Type Required
where RolePermissionWhereUniqueInput Yes
create RolePermissionCreateInput | RolePermissionUncheckedCreateInput Yes
update RolePermissionUpdateInput | RolePermissionUncheckedUpdateInput Yes

Output

Required: Yes
List: No

Permission

Fields

Name Type Attributes Required Comment
id Int
  • @id
  • @default(autoincrement())
Yes -
resource String
  • -
Yes -
accessType AccessType
  • -
Yes -
roles RolePermission[]
  • -
Yes -
createdAt DateTime
  • @default(now())
Yes -
updatedAt DateTime
  • @updatedAt
Yes -

Operations

findUnique

Find zero or one Permission

// Get one Permission
const permission = await prisma.permission.findUnique({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where PermissionWhereUniqueInput Yes

Output

Required: No
List: No

findFirst

Find first Permission

// Get one Permission
const permission = await prisma.permission.findFirst({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where PermissionWhereInput No
orderBy PermissionOrderByWithRelationInput[] | PermissionOrderByWithRelationInput No
cursor PermissionWhereUniqueInput No
take Int No
skip Int No
distinct PermissionScalarFieldEnum | PermissionScalarFieldEnum[] No

Output

Required: No
List: No

findMany

Find zero or more Permission

// Get all Permission
const Permission = await prisma.permission.findMany()
// Get first 10 Permission
const Permission = await prisma.permission.findMany({ take: 10 })

Input

Name Type Required
where PermissionWhereInput No
orderBy PermissionOrderByWithRelationInput[] | PermissionOrderByWithRelationInput No
cursor PermissionWhereUniqueInput No
take Int No
skip Int No
distinct PermissionScalarFieldEnum | PermissionScalarFieldEnum[] No

Output

Required: Yes
List: Yes

create

Create one Permission

// Create one Permission
const Permission = await prisma.permission.create({
  data: {
    // ... data to create a Permission
  }
})

Input

Name Type Required
data PermissionCreateInput | PermissionUncheckedCreateInput Yes

Output

Required: Yes
List: No

delete

Delete one Permission

// Delete one Permission
const Permission = await prisma.permission.delete({
  where: {
    // ... filter to delete one Permission
  }
})

Input

Name Type Required
where PermissionWhereUniqueInput Yes

Output

Required: No
List: No

update

Update one Permission

// Update one Permission
const permission = await prisma.permission.update({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data PermissionUpdateInput | PermissionUncheckedUpdateInput Yes
where PermissionWhereUniqueInput Yes

Output

Required: No
List: No

deleteMany

Delete zero or more Permission

// Delete a few Permission
const { count } = await prisma.permission.deleteMany({
  where: {
    // ... provide filter here
  }
})

Input

Name Type Required
where PermissionWhereInput No

Output

Required: Yes
List: No

updateMany

Update zero or one Permission

const { count } = await prisma.permission.updateMany({
  where: {
    // ... provide filter here
  },
  data: {
    // ... provide data here
  }
})

Input

Name Type Required
data PermissionUpdateManyMutationInput | PermissionUncheckedUpdateManyInput Yes
where PermissionWhereInput No

Output

Required: Yes
List: No

upsert

Create or update one Permission

// Update or create a Permission
const permission = await prisma.permission.upsert({
  create: {
    // ... data to create a Permission
  },
  update: {
    // ... in case it already exists, update
  },
  where: {
    // ... the filter for the Permission we want to update
  }
})

Input

Name Type Required
where PermissionWhereUniqueInput Yes
create PermissionCreateInput | PermissionUncheckedCreateInput Yes
update PermissionUpdateInput | PermissionUncheckedUpdateInput Yes

Output

Required: Yes
List: No

Types

Input Types

ProductWhereInput

Name Type Nullable
AND ProductWhereInput | ProductWhereInput[] No
OR ProductWhereInput[] No
NOT ProductWhereInput | ProductWhereInput[] No
id IntFilter | Int No
productName StringFilter | String No
productDesc StringFilter | String No
shortDesc StringNullableFilter | String | Null Yes
grade EnumGradeNullableFilter | Grade | Null Yes
sku StringNullableFilter | String | Null Yes
price DecimalFilter | Decimal No
msrp DecimalNullableFilter | Decimal | Null Yes
size StringNullableFilter | String | Null Yes
weight DecimalNullableFilter | Decimal | Null Yes
weightUnit StringNullableFilter | String | Null Yes
features JsonNullableFilter No
quantity IntNullableFilter | Int | Null Yes
soldQuantity IntNullableFilter | Int | Null Yes
isActive BoolNullableFilter | Boolean | Null Yes
isAvailable BoolNullableFilter | Boolean | Null Yes
slug StringNullableFilter | String | Null Yes
imageUrl StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
categoryId IntFilter | Int No
category CategoryRelationFilter | CategoryWhereInput No
orderDetail OrderDetailListRelationFilter No
cartItem CartItemListRelationFilter No
productInventory ProductInventoryListRelationFilter No
productImage ProductImageListRelationFilter No
reviews UserReviewListRelationFilter No

ProductOrderByWithRelationInput

Name Type Nullable
id SortOrder No
productName SortOrder No
productDesc SortOrder No
shortDesc SortOrder | SortOrderInput No
grade SortOrder | SortOrderInput No
sku SortOrder | SortOrderInput No
price SortOrder No
msrp SortOrder | SortOrderInput No
size SortOrder | SortOrderInput No
weight SortOrder | SortOrderInput No
weightUnit SortOrder | SortOrderInput No
features SortOrder | SortOrderInput No
quantity SortOrder | SortOrderInput No
soldQuantity SortOrder | SortOrderInput No
isActive SortOrder | SortOrderInput No
isAvailable SortOrder | SortOrderInput No
slug SortOrder | SortOrderInput No
imageUrl SortOrder | SortOrderInput No
createdAt SortOrder No
updatedAt SortOrder No
categoryId SortOrder No
category CategoryOrderByWithRelationInput No
orderDetail OrderDetailOrderByRelationAggregateInput No
cartItem CartItemOrderByRelationAggregateInput No
productInventory ProductInventoryOrderByRelationAggregateInput No
productImage ProductImageOrderByRelationAggregateInput No
reviews UserReviewOrderByRelationAggregateInput No

ProductWhereUniqueInput

Name Type Nullable
id Int No
sku String No
slug String No
AND ProductWhereInput | ProductWhereInput[] No
OR ProductWhereInput[] No
NOT ProductWhereInput | ProductWhereInput[] No
productName StringFilter | String No
productDesc StringFilter | String No
shortDesc StringNullableFilter | String | Null Yes
grade EnumGradeNullableFilter | Grade | Null Yes
price DecimalFilter | Decimal No
msrp DecimalNullableFilter | Decimal | Null Yes
size StringNullableFilter | String | Null Yes
weight DecimalNullableFilter | Decimal | Null Yes
weightUnit StringNullableFilter | String | Null Yes
features JsonNullableFilter No
quantity IntNullableFilter | Int | Null Yes
soldQuantity IntNullableFilter | Int | Null Yes
isActive BoolNullableFilter | Boolean | Null Yes
isAvailable BoolNullableFilter | Boolean | Null Yes
imageUrl StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
categoryId IntFilter | Int No
category CategoryRelationFilter | CategoryWhereInput No
orderDetail OrderDetailListRelationFilter No
cartItem CartItemListRelationFilter No
productInventory ProductInventoryListRelationFilter No
productImage ProductImageListRelationFilter No
reviews UserReviewListRelationFilter No

ProductOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
productName SortOrder No
productDesc SortOrder No
shortDesc SortOrder | SortOrderInput No
grade SortOrder | SortOrderInput No
sku SortOrder | SortOrderInput No
price SortOrder No
msrp SortOrder | SortOrderInput No
size SortOrder | SortOrderInput No
weight SortOrder | SortOrderInput No
weightUnit SortOrder | SortOrderInput No
features SortOrder | SortOrderInput No
quantity SortOrder | SortOrderInput No
soldQuantity SortOrder | SortOrderInput No
isActive SortOrder | SortOrderInput No
isAvailable SortOrder | SortOrderInput No
slug SortOrder | SortOrderInput No
imageUrl SortOrder | SortOrderInput No
createdAt SortOrder No
updatedAt SortOrder No
categoryId SortOrder No
_count ProductCountOrderByAggregateInput No
_avg ProductAvgOrderByAggregateInput No
_max ProductMaxOrderByAggregateInput No
_min ProductMinOrderByAggregateInput No
_sum ProductSumOrderByAggregateInput No

ProductScalarWhereWithAggregatesInput

Name Type Nullable
AND ProductScalarWhereWithAggregatesInput | ProductScalarWhereWithAggregatesInput[] No
OR ProductScalarWhereWithAggregatesInput[] No
NOT ProductScalarWhereWithAggregatesInput | ProductScalarWhereWithAggregatesInput[] No
id IntWithAggregatesFilter | Int No
productName StringWithAggregatesFilter | String No
productDesc StringWithAggregatesFilter | String No
shortDesc StringNullableWithAggregatesFilter | String | Null Yes
grade EnumGradeNullableWithAggregatesFilter | Grade | Null Yes
sku StringNullableWithAggregatesFilter | String | Null Yes
price DecimalWithAggregatesFilter | Decimal No
msrp DecimalNullableWithAggregatesFilter | Decimal | Null Yes
size StringNullableWithAggregatesFilter | String | Null Yes
weight DecimalNullableWithAggregatesFilter | Decimal | Null Yes
weightUnit StringNullableWithAggregatesFilter | String | Null Yes
features JsonNullableWithAggregatesFilter No
quantity IntNullableWithAggregatesFilter | Int | Null Yes
soldQuantity IntNullableWithAggregatesFilter | Int | Null Yes
isActive BoolNullableWithAggregatesFilter | Boolean | Null Yes
isAvailable BoolNullableWithAggregatesFilter | Boolean | Null Yes
slug StringNullableWithAggregatesFilter | String | Null Yes
imageUrl StringNullableWithAggregatesFilter | String | Null Yes
createdAt DateTimeWithAggregatesFilter | DateTime No
updatedAt DateTimeWithAggregatesFilter | DateTime No
categoryId IntWithAggregatesFilter | Int No

CategoryWhereInput

Name Type Nullable
AND CategoryWhereInput | CategoryWhereInput[] No
OR CategoryWhereInput[] No
NOT CategoryWhereInput | CategoryWhereInput[] No
id IntFilter | Int No
categoryName StringFilter | String No
categoryDesc StringFilter | String No
slug StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
parentCategoryId IntNullableFilter | Int | Null Yes
parentCategory CategoryNullableRelationFilter | CategoryWhereInput | Null Yes
childCategories CategoryListRelationFilter No
product ProductListRelationFilter No
promotionCategory PromotionCategoryListRelationFilter No

CategoryOrderByWithRelationInput

Name Type Nullable
id SortOrder No
categoryName SortOrder No
categoryDesc SortOrder No
slug SortOrder | SortOrderInput No
createdAt SortOrder No
updatedAt SortOrder No
parentCategoryId SortOrder | SortOrderInput No
parentCategory CategoryOrderByWithRelationInput No
childCategories CategoryOrderByRelationAggregateInput No
product ProductOrderByRelationAggregateInput No
promotionCategory PromotionCategoryOrderByRelationAggregateInput No

CategoryWhereUniqueInput

Name Type Nullable
id Int No
categoryName String No
slug String No
AND CategoryWhereInput | CategoryWhereInput[] No
OR CategoryWhereInput[] No
NOT CategoryWhereInput | CategoryWhereInput[] No
categoryDesc StringFilter | String No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
parentCategoryId IntNullableFilter | Int | Null Yes
parentCategory CategoryNullableRelationFilter | CategoryWhereInput | Null Yes
childCategories CategoryListRelationFilter No
product ProductListRelationFilter No
promotionCategory PromotionCategoryListRelationFilter No

CategoryOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
categoryName SortOrder No
categoryDesc SortOrder No
slug SortOrder | SortOrderInput No
createdAt SortOrder No
updatedAt SortOrder No
parentCategoryId SortOrder | SortOrderInput No
_count CategoryCountOrderByAggregateInput No
_avg CategoryAvgOrderByAggregateInput No
_max CategoryMaxOrderByAggregateInput No
_min CategoryMinOrderByAggregateInput No
_sum CategorySumOrderByAggregateInput No

CategoryScalarWhereWithAggregatesInput

Name Type Nullable
AND CategoryScalarWhereWithAggregatesInput | CategoryScalarWhereWithAggregatesInput[] No
OR CategoryScalarWhereWithAggregatesInput[] No
NOT CategoryScalarWhereWithAggregatesInput | CategoryScalarWhereWithAggregatesInput[] No
id IntWithAggregatesFilter | Int No
categoryName StringWithAggregatesFilter | String No
categoryDesc StringWithAggregatesFilter | String No
slug StringNullableWithAggregatesFilter | String | Null Yes
createdAt DateTimeWithAggregatesFilter | DateTime No
updatedAt DateTimeWithAggregatesFilter | DateTime No
parentCategoryId IntNullableWithAggregatesFilter | Int | Null Yes

ProductInventoryWhereInput

Name Type Nullable
AND ProductInventoryWhereInput | ProductInventoryWhereInput[] No
OR ProductInventoryWhereInput[] No
NOT ProductInventoryWhereInput | ProductInventoryWhereInput[] No
id IntFilter | Int No
quantity IntFilter | Int No
reStockLevel IntNullableFilter | Int | Null Yes
status EnumInventoryStatusFilter | InventoryStatus No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
productId IntFilter | Int No
product ProductRelationFilter | ProductWhereInput No

ProductInventoryOrderByWithRelationInput

Name Type Nullable
id SortOrder No
quantity SortOrder No
reStockLevel SortOrder | SortOrderInput No
status SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
productId SortOrder No
product ProductOrderByWithRelationInput No

ProductInventoryWhereUniqueInput

Name Type Nullable
id Int No
AND ProductInventoryWhereInput | ProductInventoryWhereInput[] No
OR ProductInventoryWhereInput[] No
NOT ProductInventoryWhereInput | ProductInventoryWhereInput[] No
quantity IntFilter | Int No
reStockLevel IntNullableFilter | Int | Null Yes
status EnumInventoryStatusFilter | InventoryStatus No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
productId IntFilter | Int No
product ProductRelationFilter | ProductWhereInput No

ProductInventoryOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
quantity SortOrder No
reStockLevel SortOrder | SortOrderInput No
status SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
productId SortOrder No
_count ProductInventoryCountOrderByAggregateInput No
_avg ProductInventoryAvgOrderByAggregateInput No
_max ProductInventoryMaxOrderByAggregateInput No
_min ProductInventoryMinOrderByAggregateInput No
_sum ProductInventorySumOrderByAggregateInput No


ProductImageWhereInput

Name Type Nullable
AND ProductImageWhereInput | ProductImageWhereInput[] No
OR ProductImageWhereInput[] No
NOT ProductImageWhereInput | ProductImageWhereInput[] No
id IntFilter | Int No
imageUrl StringFilter | String No
productId IntFilter | Int No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
product ProductRelationFilter | ProductWhereInput No

ProductImageOrderByWithRelationInput

Name Type Nullable
id SortOrder No
imageUrl SortOrder No
productId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
product ProductOrderByWithRelationInput No

ProductImageWhereUniqueInput

Name Type Nullable
id Int No
AND ProductImageWhereInput | ProductImageWhereInput[] No
OR ProductImageWhereInput[] No
NOT ProductImageWhereInput | ProductImageWhereInput[] No
imageUrl StringFilter | String No
productId IntFilter | Int No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
product ProductRelationFilter | ProductWhereInput No

ProductImageOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
imageUrl SortOrder No
productId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
_count ProductImageCountOrderByAggregateInput No
_avg ProductImageAvgOrderByAggregateInput No
_max ProductImageMaxOrderByAggregateInput No
_min ProductImageMinOrderByAggregateInput No
_sum ProductImageSumOrderByAggregateInput No


UserWhereInput

Name Type Nullable
AND UserWhereInput | UserWhereInput[] No
OR UserWhereInput[] No
NOT UserWhereInput | UserWhereInput[] No
id IntFilter | Int No
email StringFilter | String No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
preference JsonNullableFilter No
balance IntFilter | Int No
authenticationToken AuthenticationTokenNullableRelationFilter | AuthenticationTokenWhereInput | Null Yes
profile UserProfileNullableRelationFilter | UserProfileWhereInput | Null Yes
authoredReviews UserReviewListRelationFilter No
cart CartNullableRelationFilter | CartWhereInput | Null Yes
login LoginNullableRelationFilter | LoginWhereInput | Null Yes
roles UserRoleListRelationFilter No
paymentMethod PaymentMethodListRelationFilter No
orders OrderListRelationFilter No

UserOrderByWithRelationInput

Name Type Nullable
id SortOrder No
email SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
preference SortOrder | SortOrderInput No
balance SortOrder No
authenticationToken AuthenticationTokenOrderByWithRelationInput No
profile UserProfileOrderByWithRelationInput No
authoredReviews UserReviewOrderByRelationAggregateInput No
cart CartOrderByWithRelationInput No
login LoginOrderByWithRelationInput No
roles UserRoleOrderByRelationAggregateInput No
paymentMethod PaymentMethodOrderByRelationAggregateInput No
orders OrderOrderByRelationAggregateInput No

UserWhereUniqueInput

Name Type Nullable
id Int No
email String No
AND UserWhereInput | UserWhereInput[] No
OR UserWhereInput[] No
NOT UserWhereInput | UserWhereInput[] No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
preference JsonNullableFilter No
balance IntFilter | Int No
authenticationToken AuthenticationTokenNullableRelationFilter | AuthenticationTokenWhereInput | Null Yes
profile UserProfileNullableRelationFilter | UserProfileWhereInput | Null Yes
authoredReviews UserReviewListRelationFilter No
cart CartNullableRelationFilter | CartWhereInput | Null Yes
login LoginNullableRelationFilter | LoginWhereInput | Null Yes
roles UserRoleListRelationFilter No
paymentMethod PaymentMethodListRelationFilter No
orders OrderListRelationFilter No

UserOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
email SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
preference SortOrder | SortOrderInput No
balance SortOrder No
_count UserCountOrderByAggregateInput No
_avg UserAvgOrderByAggregateInput No
_max UserMaxOrderByAggregateInput No
_min UserMinOrderByAggregateInput No
_sum UserSumOrderByAggregateInput No


LoginWhereInput

Name Type Nullable
AND LoginWhereInput | LoginWhereInput[] No
OR LoginWhereInput[] No
NOT LoginWhereInput | LoginWhereInput[] No
id StringFilter | String No
username StringFilter | String No
password StringFilter | String No
failedAttempts IntFilter | Int No
lockoutTime DateTimeNullableFilter | DateTime | Null Yes
lastLogin DateTimeNullableFilter | DateTime | Null Yes
userId IntFilter | Int No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
user UserRelationFilter | UserWhereInput No

LoginOrderByWithRelationInput

Name Type Nullable
id SortOrder No
username SortOrder No
password SortOrder No
failedAttempts SortOrder No
lockoutTime SortOrder | SortOrderInput No
lastLogin SortOrder | SortOrderInput No
userId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
user UserOrderByWithRelationInput No

LoginWhereUniqueInput

Name Type Nullable
id String No
username String No
userId Int No
AND LoginWhereInput | LoginWhereInput[] No
OR LoginWhereInput[] No
NOT LoginWhereInput | LoginWhereInput[] No
password StringFilter | String No
failedAttempts IntFilter | Int No
lockoutTime DateTimeNullableFilter | DateTime | Null Yes
lastLogin DateTimeNullableFilter | DateTime | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
user UserRelationFilter | UserWhereInput No

LoginOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
username SortOrder No
password SortOrder No
failedAttempts SortOrder No
lockoutTime SortOrder | SortOrderInput No
lastLogin SortOrder | SortOrderInput No
userId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
_count LoginCountOrderByAggregateInput No
_avg LoginAvgOrderByAggregateInput No
_max LoginMaxOrderByAggregateInput No
_min LoginMinOrderByAggregateInput No
_sum LoginSumOrderByAggregateInput No

LoginScalarWhereWithAggregatesInput

Name Type Nullable
AND LoginScalarWhereWithAggregatesInput | LoginScalarWhereWithAggregatesInput[] No
OR LoginScalarWhereWithAggregatesInput[] No
NOT LoginScalarWhereWithAggregatesInput | LoginScalarWhereWithAggregatesInput[] No
id StringWithAggregatesFilter | String No
username StringWithAggregatesFilter | String No
password StringWithAggregatesFilter | String No
failedAttempts IntWithAggregatesFilter | Int No
lockoutTime DateTimeNullableWithAggregatesFilter | DateTime | Null Yes
lastLogin DateTimeNullableWithAggregatesFilter | DateTime | Null Yes
userId IntWithAggregatesFilter | Int No
createdAt DateTimeWithAggregatesFilter | DateTime No
updatedAt DateTimeWithAggregatesFilter | DateTime No

AuthenticationTokenWhereInput

Name Type Nullable
AND AuthenticationTokenWhereInput | AuthenticationTokenWhereInput[] No
OR AuthenticationTokenWhereInput[] No
NOT AuthenticationTokenWhereInput | AuthenticationTokenWhereInput[] No
id IntFilter | Int No
token StringFilter | String No
expiry DateTimeNullableFilter | DateTime | Null Yes
userId IntFilter | Int No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
user UserRelationFilter | UserWhereInput No

AuthenticationTokenOrderByWithRelationInput

Name Type Nullable
id SortOrder No
token SortOrder No
expiry SortOrder | SortOrderInput No
userId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
user UserOrderByWithRelationInput No

AuthenticationTokenWhereUniqueInput

Name Type Nullable
id Int No
token String No
userId Int No
AND AuthenticationTokenWhereInput | AuthenticationTokenWhereInput[] No
OR AuthenticationTokenWhereInput[] No
NOT AuthenticationTokenWhereInput | AuthenticationTokenWhereInput[] No
expiry DateTimeNullableFilter | DateTime | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
user UserRelationFilter | UserWhereInput No



UserProfileWhereInput

Name Type Nullable
AND UserProfileWhereInput | UserProfileWhereInput[] No
OR UserProfileWhereInput[] No
NOT UserProfileWhereInput | UserProfileWhereInput[] No
id IntFilter | Int No
firstName StringNullableFilter | String | Null Yes
lastName StringNullableFilter | String | Null Yes
phone StringNullableFilter | String | Null Yes
birthDate DateTimeNullableFilter | DateTime | Null Yes
gender EnumGenderNullableFilter | Gender | Null Yes
photo StringNullableFilter | String | Null Yes
bio StringNullableFilter | String | Null Yes
userId IntFilter | Int No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
userAddress UserAddressListRelationFilter No
socialLinks SocialLinkListRelationFilter No
user UserRelationFilter | UserWhereInput No

UserProfileOrderByWithRelationInput

Name Type Nullable
id SortOrder No
firstName SortOrder | SortOrderInput No
lastName SortOrder | SortOrderInput No
phone SortOrder | SortOrderInput No
birthDate SortOrder | SortOrderInput No
gender SortOrder | SortOrderInput No
photo SortOrder | SortOrderInput No
bio SortOrder | SortOrderInput No
userId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
userAddress UserAddressOrderByRelationAggregateInput No
socialLinks SocialLinkOrderByRelationAggregateInput No
user UserOrderByWithRelationInput No

UserProfileWhereUniqueInput

Name Type Nullable
id Int No
userId Int No
AND UserProfileWhereInput | UserProfileWhereInput[] No
OR UserProfileWhereInput[] No
NOT UserProfileWhereInput | UserProfileWhereInput[] No
firstName StringNullableFilter | String | Null Yes
lastName StringNullableFilter | String | Null Yes
phone StringNullableFilter | String | Null Yes
birthDate DateTimeNullableFilter | DateTime | Null Yes
gender EnumGenderNullableFilter | Gender | Null Yes
photo StringNullableFilter | String | Null Yes
bio StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
userAddress UserAddressListRelationFilter No
socialLinks SocialLinkListRelationFilter No
user UserRelationFilter | UserWhereInput No

UserProfileOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
firstName SortOrder | SortOrderInput No
lastName SortOrder | SortOrderInput No
phone SortOrder | SortOrderInput No
birthDate SortOrder | SortOrderInput No
gender SortOrder | SortOrderInput No
photo SortOrder | SortOrderInput No
bio SortOrder | SortOrderInput No
userId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
_count UserProfileCountOrderByAggregateInput No
_avg UserProfileAvgOrderByAggregateInput No
_max UserProfileMaxOrderByAggregateInput No
_min UserProfileMinOrderByAggregateInput No
_sum UserProfileSumOrderByAggregateInput No

UserProfileScalarWhereWithAggregatesInput

Name Type Nullable
AND UserProfileScalarWhereWithAggregatesInput | UserProfileScalarWhereWithAggregatesInput[] No
OR UserProfileScalarWhereWithAggregatesInput[] No
NOT UserProfileScalarWhereWithAggregatesInput | UserProfileScalarWhereWithAggregatesInput[] No
id IntWithAggregatesFilter | Int No
firstName StringNullableWithAggregatesFilter | String | Null Yes
lastName StringNullableWithAggregatesFilter | String | Null Yes
phone StringNullableWithAggregatesFilter | String | Null Yes
birthDate DateTimeNullableWithAggregatesFilter | DateTime | Null Yes
gender EnumGenderNullableWithAggregatesFilter | Gender | Null Yes
photo StringNullableWithAggregatesFilter | String | Null Yes
bio StringNullableWithAggregatesFilter | String | Null Yes
userId IntWithAggregatesFilter | Int No
createdAt DateTimeWithAggregatesFilter | DateTime No
updatedAt DateTimeWithAggregatesFilter | DateTime No

UserAddressWhereInput

Name Type Nullable
AND UserAddressWhereInput | UserAddressWhereInput[] No
OR UserAddressWhereInput[] No
NOT UserAddressWhereInput | UserAddressWhereInput[] No
id IntFilter | Int No
userProfileId IntFilter | Int No
addressId IntFilter | Int No
isDefault BoolFilter | Boolean No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
userProfile UserProfileRelationFilter | UserProfileWhereInput No
address AddressRelationFilter | AddressWhereInput No

UserAddressOrderByWithRelationInput

Name Type Nullable
id SortOrder No
userProfileId SortOrder No
addressId SortOrder No
isDefault SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
userProfile UserProfileOrderByWithRelationInput No
address AddressOrderByWithRelationInput No

UserAddressWhereUniqueInput

Name Type Nullable
id Int No
userProfileId_addressId_id UserAddressUserProfileIdAddressIdIdCompoundUniqueInput No
AND UserAddressWhereInput | UserAddressWhereInput[] No
OR UserAddressWhereInput[] No
NOT UserAddressWhereInput | UserAddressWhereInput[] No
userProfileId IntFilter | Int No
addressId IntFilter | Int No
isDefault BoolFilter | Boolean No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
userProfile UserProfileRelationFilter | UserProfileWhereInput No
address AddressRelationFilter | AddressWhereInput No

UserAddressOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
userProfileId SortOrder No
addressId SortOrder No
isDefault SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
_count UserAddressCountOrderByAggregateInput No
_avg UserAddressAvgOrderByAggregateInput No
_max UserAddressMaxOrderByAggregateInput No
_min UserAddressMinOrderByAggregateInput No
_sum UserAddressSumOrderByAggregateInput No


AddressWhereInput

Name Type Nullable
AND AddressWhereInput | AddressWhereInput[] No
OR AddressWhereInput[] No
NOT AddressWhereInput | AddressWhereInput[] No
id IntFilter | Int No
street StringFilter | String No
unit StringFilter | String No
city StringFilter | String No
zipcode StringFilter | String No
state StringFilter | String No
country StringFilter | String No
planet StringNullableFilter | String | Null Yes
solarSystem StringNullableFilter | String | Null Yes
galaxy StringNullableFilter | String | Null Yes
localGroup StringNullableFilter | String | Null Yes
localCluster StringNullableFilter | String | Null Yes
universe StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
userAddress UserAddressListRelationFilter No
paymentDetail PaymentDetailListRelationFilter No
shippingDetail ShippingDetailListRelationFilter No

AddressOrderByWithRelationInput

Name Type Nullable
id SortOrder No
street SortOrder No
unit SortOrder No
city SortOrder No
zipcode SortOrder No
state SortOrder No
country SortOrder No
planet SortOrder | SortOrderInput No
solarSystem SortOrder | SortOrderInput No
galaxy SortOrder | SortOrderInput No
localGroup SortOrder | SortOrderInput No
localCluster SortOrder | SortOrderInput No
universe SortOrder | SortOrderInput No
createdAt SortOrder No
updatedAt SortOrder No
userAddress UserAddressOrderByRelationAggregateInput No
paymentDetail PaymentDetailOrderByRelationAggregateInput No
shippingDetail ShippingDetailOrderByRelationAggregateInput No

AddressWhereUniqueInput

Name Type Nullable
id Int No
AND AddressWhereInput | AddressWhereInput[] No
OR AddressWhereInput[] No
NOT AddressWhereInput | AddressWhereInput[] No
street StringFilter | String No
unit StringFilter | String No
city StringFilter | String No
zipcode StringFilter | String No
state StringFilter | String No
country StringFilter | String No
planet StringNullableFilter | String | Null Yes
solarSystem StringNullableFilter | String | Null Yes
galaxy StringNullableFilter | String | Null Yes
localGroup StringNullableFilter | String | Null Yes
localCluster StringNullableFilter | String | Null Yes
universe StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
userAddress UserAddressListRelationFilter No
paymentDetail PaymentDetailListRelationFilter No
shippingDetail ShippingDetailListRelationFilter No

AddressOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
street SortOrder No
unit SortOrder No
city SortOrder No
zipcode SortOrder No
state SortOrder No
country SortOrder No
planet SortOrder | SortOrderInput No
solarSystem SortOrder | SortOrderInput No
galaxy SortOrder | SortOrderInput No
localGroup SortOrder | SortOrderInput No
localCluster SortOrder | SortOrderInput No
universe SortOrder | SortOrderInput No
createdAt SortOrder No
updatedAt SortOrder No
_count AddressCountOrderByAggregateInput No
_avg AddressAvgOrderByAggregateInput No
_max AddressMaxOrderByAggregateInput No
_min AddressMinOrderByAggregateInput No
_sum AddressSumOrderByAggregateInput No

AddressScalarWhereWithAggregatesInput

Name Type Nullable
AND AddressScalarWhereWithAggregatesInput | AddressScalarWhereWithAggregatesInput[] No
OR AddressScalarWhereWithAggregatesInput[] No
NOT AddressScalarWhereWithAggregatesInput | AddressScalarWhereWithAggregatesInput[] No
id IntWithAggregatesFilter | Int No
street StringWithAggregatesFilter | String No
unit StringWithAggregatesFilter | String No
city StringWithAggregatesFilter | String No
zipcode StringWithAggregatesFilter | String No
state StringWithAggregatesFilter | String No
country StringWithAggregatesFilter | String No
planet StringNullableWithAggregatesFilter | String | Null Yes
solarSystem StringNullableWithAggregatesFilter | String | Null Yes
galaxy StringNullableWithAggregatesFilter | String | Null Yes
localGroup StringNullableWithAggregatesFilter | String | Null Yes
localCluster StringNullableWithAggregatesFilter | String | Null Yes
universe StringNullableWithAggregatesFilter | String | Null Yes
createdAt DateTimeWithAggregatesFilter | DateTime No
updatedAt DateTimeWithAggregatesFilter | DateTime No

SocialLinkWhereInput

Name Type Nullable
AND SocialLinkWhereInput | SocialLinkWhereInput[] No
OR SocialLinkWhereInput[] No
NOT SocialLinkWhereInput | SocialLinkWhereInput[] No
id IntFilter | Int No
userProfileId IntFilter | Int No
socialProvider StringFilter | String No
socialUrl StringFilter | String No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
UserProfile UserProfileRelationFilter | UserProfileWhereInput No

SocialLinkOrderByWithRelationInput

Name Type Nullable
id SortOrder No
userProfileId SortOrder No
socialProvider SortOrder No
socialUrl SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
UserProfile UserProfileOrderByWithRelationInput No

SocialLinkWhereUniqueInput

Name Type Nullable
id Int No
userProfileId Int No
AND SocialLinkWhereInput | SocialLinkWhereInput[] No
OR SocialLinkWhereInput[] No
NOT SocialLinkWhereInput | SocialLinkWhereInput[] No
socialProvider StringFilter | String No
socialUrl StringFilter | String No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
UserProfile UserProfileRelationFilter | UserProfileWhereInput No

SocialLinkOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
userProfileId SortOrder No
socialProvider SortOrder No
socialUrl SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
_count SocialLinkCountOrderByAggregateInput No
_avg SocialLinkAvgOrderByAggregateInput No
_max SocialLinkMaxOrderByAggregateInput No
_min SocialLinkMinOrderByAggregateInput No
_sum SocialLinkSumOrderByAggregateInput No


UserReviewWhereInput

Name Type Nullable
AND UserReviewWhereInput | UserReviewWhereInput[] No
OR UserReviewWhereInput[] No
NOT UserReviewWhereInput | UserReviewWhereInput[] No
id IntFilter | Int No
title StringFilter | String No
message StringFilter | String No
rating IntFilter | Int No
authorId IntFilter | Int No
productId IntFilter | Int No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
author UserRelationFilter | UserWhereInput No
product ProductRelationFilter | ProductWhereInput No

UserReviewOrderByWithRelationInput

Name Type Nullable
id SortOrder No
title SortOrder No
message SortOrder No
rating SortOrder No
authorId SortOrder No
productId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
author UserOrderByWithRelationInput No
product ProductOrderByWithRelationInput No

UserReviewWhereUniqueInput

Name Type Nullable
id Int No
AND UserReviewWhereInput | UserReviewWhereInput[] No
OR UserReviewWhereInput[] No
NOT UserReviewWhereInput | UserReviewWhereInput[] No
title StringFilter | String No
message StringFilter | String No
rating IntFilter | Int No
authorId IntFilter | Int No
productId IntFilter | Int No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
author UserRelationFilter | UserWhereInput No
product ProductRelationFilter | ProductWhereInput No

UserReviewOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
title SortOrder No
message SortOrder No
rating SortOrder No
authorId SortOrder No
productId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
_count UserReviewCountOrderByAggregateInput No
_avg UserReviewAvgOrderByAggregateInput No
_max UserReviewMaxOrderByAggregateInput No
_min UserReviewMinOrderByAggregateInput No
_sum UserReviewSumOrderByAggregateInput No


PromotionCategoryWhereInput

Name Type Nullable
AND PromotionCategoryWhereInput | PromotionCategoryWhereInput[] No
OR PromotionCategoryWhereInput[] No
NOT PromotionCategoryWhereInput | PromotionCategoryWhereInput[] No
id IntFilter | Int No
categoryId IntFilter | Int No
promotionId IntFilter | Int No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
category CategoryRelationFilter | CategoryWhereInput No
promotion PromotionRelationFilter | PromotionWhereInput No

PromotionCategoryOrderByWithRelationInput

Name Type Nullable
id SortOrder No
categoryId SortOrder No
promotionId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
category CategoryOrderByWithRelationInput No
promotion PromotionOrderByWithRelationInput No

PromotionCategoryWhereUniqueInput

Name Type Nullable
id Int No
categoryId_promotionId PromotionCategoryCategoryIdPromotionIdCompoundUniqueInput No
AND PromotionCategoryWhereInput | PromotionCategoryWhereInput[] No
OR PromotionCategoryWhereInput[] No
NOT PromotionCategoryWhereInput | PromotionCategoryWhereInput[] No
categoryId IntFilter | Int No
promotionId IntFilter | Int No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
category CategoryRelationFilter | CategoryWhereInput No
promotion PromotionRelationFilter | PromotionWhereInput No

PromotionCategoryOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
categoryId SortOrder No
promotionId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
_count PromotionCategoryCountOrderByAggregateInput No
_avg PromotionCategoryAvgOrderByAggregateInput No
_max PromotionCategoryMaxOrderByAggregateInput No
_min PromotionCategoryMinOrderByAggregateInput No
_sum PromotionCategorySumOrderByAggregateInput No


PromotionWhereInput

Name Type Nullable
AND PromotionWhereInput | PromotionWhereInput[] No
OR PromotionWhereInput[] No
NOT PromotionWhereInput | PromotionWhereInput[] No
id IntFilter | Int No
promotionName StringFilter | String No
promotionDesc StringFilter | String No
promotionRate IntFilter | Int No
isActive BoolFilter | Boolean No
startDate DateTimeFilter | DateTime No
endDate DateTimeFilter | DateTime No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
promotionCategory PromotionCategoryListRelationFilter No
CartItem CartItemNullableRelationFilter | CartItemWhereInput | Null Yes

PromotionOrderByWithRelationInput

Name Type Nullable
id SortOrder No
promotionName SortOrder No
promotionDesc SortOrder No
promotionRate SortOrder No
isActive SortOrder No
startDate SortOrder No
endDate SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
promotionCategory PromotionCategoryOrderByRelationAggregateInput No
CartItem CartItemOrderByWithRelationInput No

PromotionWhereUniqueInput

Name Type Nullable
id Int No
AND PromotionWhereInput | PromotionWhereInput[] No
OR PromotionWhereInput[] No
NOT PromotionWhereInput | PromotionWhereInput[] No
promotionName StringFilter | String No
promotionDesc StringFilter | String No
promotionRate IntFilter | Int No
isActive BoolFilter | Boolean No
startDate DateTimeFilter | DateTime No
endDate DateTimeFilter | DateTime No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
promotionCategory PromotionCategoryListRelationFilter No
CartItem CartItemNullableRelationFilter | CartItemWhereInput | Null Yes

PromotionOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
promotionName SortOrder No
promotionDesc SortOrder No
promotionRate SortOrder No
isActive SortOrder No
startDate SortOrder No
endDate SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
_count PromotionCountOrderByAggregateInput No
_avg PromotionAvgOrderByAggregateInput No
_max PromotionMaxOrderByAggregateInput No
_min PromotionMinOrderByAggregateInput No
_sum PromotionSumOrderByAggregateInput No

PromotionScalarWhereWithAggregatesInput

Name Type Nullable
AND PromotionScalarWhereWithAggregatesInput | PromotionScalarWhereWithAggregatesInput[] No
OR PromotionScalarWhereWithAggregatesInput[] No
NOT PromotionScalarWhereWithAggregatesInput | PromotionScalarWhereWithAggregatesInput[] No
id IntWithAggregatesFilter | Int No
promotionName StringWithAggregatesFilter | String No
promotionDesc StringWithAggregatesFilter | String No
promotionRate IntWithAggregatesFilter | Int No
isActive BoolWithAggregatesFilter | Boolean No
startDate DateTimeWithAggregatesFilter | DateTime No
endDate DateTimeWithAggregatesFilter | DateTime No
createdAt DateTimeWithAggregatesFilter | DateTime No
updatedAt DateTimeWithAggregatesFilter | DateTime No

CartItemWhereInput

Name Type Nullable
AND CartItemWhereInput | CartItemWhereInput[] No
OR CartItemWhereInput[] No
NOT CartItemWhereInput | CartItemWhereInput[] No
id IntFilter | Int No
cartId IntFilter | Int No
productId IntFilter | Int No
quantity IntFilter | Int No
promotionId IntNullableFilter | Int | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
cart CartRelationFilter | CartWhereInput No
product ProductRelationFilter | ProductWhereInput No
Promotion PromotionNullableRelationFilter | PromotionWhereInput | Null Yes

CartItemOrderByWithRelationInput

Name Type Nullable
id SortOrder No
cartId SortOrder No
productId SortOrder No
quantity SortOrder No
promotionId SortOrder | SortOrderInput No
createdAt SortOrder No
updatedAt SortOrder No
cart CartOrderByWithRelationInput No
product ProductOrderByWithRelationInput No
Promotion PromotionOrderByWithRelationInput No

CartItemWhereUniqueInput

Name Type Nullable
id Int No
promotionId Int No
AND CartItemWhereInput | CartItemWhereInput[] No
OR CartItemWhereInput[] No
NOT CartItemWhereInput | CartItemWhereInput[] No
cartId IntFilter | Int No
productId IntFilter | Int No
quantity IntFilter | Int No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
cart CartRelationFilter | CartWhereInput No
product ProductRelationFilter | ProductWhereInput No
Promotion PromotionNullableRelationFilter | PromotionWhereInput | Null Yes

CartItemOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
cartId SortOrder No
productId SortOrder No
quantity SortOrder No
promotionId SortOrder | SortOrderInput No
createdAt SortOrder No
updatedAt SortOrder No
_count CartItemCountOrderByAggregateInput No
_avg CartItemAvgOrderByAggregateInput No
_max CartItemMaxOrderByAggregateInput No
_min CartItemMinOrderByAggregateInput No
_sum CartItemSumOrderByAggregateInput No


CartWhereInput

Name Type Nullable
AND CartWhereInput | CartWhereInput[] No
OR CartWhereInput[] No
NOT CartWhereInput | CartWhereInput[] No
id IntFilter | Int No
userId IntFilter | Int No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
user UserRelationFilter | UserWhereInput No
cartItems CartItemListRelationFilter No

CartOrderByWithRelationInput

Name Type Nullable
id SortOrder No
userId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
user UserOrderByWithRelationInput No
cartItems CartItemOrderByRelationAggregateInput No

CartWhereUniqueInput

Name Type Nullable
id Int No
userId Int No
AND CartWhereInput | CartWhereInput[] No
OR CartWhereInput[] No
NOT CartWhereInput | CartWhereInput[] No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
user UserRelationFilter | UserWhereInput No
cartItems CartItemListRelationFilter No

CartOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
userId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
_count CartCountOrderByAggregateInput No
_avg CartAvgOrderByAggregateInput No
_max CartMaxOrderByAggregateInput No
_min CartMinOrderByAggregateInput No
_sum CartSumOrderByAggregateInput No


OrderWhereInput

Name Type Nullable
AND OrderWhereInput | OrderWhereInput[] No
OR OrderWhereInput[] No
NOT OrderWhereInput | OrderWhereInput[] No
id StringFilter | String No
status EnumOrderStatusTypeFilter | OrderStatusType No
tax DecimalFilter | Decimal No
total DecimalFilter | Decimal No
createdAt DateTimeFilter | DateTime No
userId IntFilter | Int No
updatedAt DateTimeFilter | DateTime No
user UserRelationFilter | UserWhereInput No
shippingDetail ShippingDetailNullableRelationFilter | ShippingDetailWhereInput | Null Yes
paymentDetail PaymentDetailNullableRelationFilter | PaymentDetailWhereInput | Null Yes
orderDetail OrderDetailListRelationFilter No

OrderOrderByWithRelationInput

Name Type Nullable
id SortOrder No
status SortOrder No
tax SortOrder No
total SortOrder No
createdAt SortOrder No
userId SortOrder No
updatedAt SortOrder No
user UserOrderByWithRelationInput No
shippingDetail ShippingDetailOrderByWithRelationInput No
paymentDetail PaymentDetailOrderByWithRelationInput No
orderDetail OrderDetailOrderByRelationAggregateInput No

OrderWhereUniqueInput

Name Type Nullable
id String No
AND OrderWhereInput | OrderWhereInput[] No
OR OrderWhereInput[] No
NOT OrderWhereInput | OrderWhereInput[] No
status EnumOrderStatusTypeFilter | OrderStatusType No
tax DecimalFilter | Decimal No
total DecimalFilter | Decimal No
createdAt DateTimeFilter | DateTime No
userId IntFilter | Int No
updatedAt DateTimeFilter | DateTime No
user UserRelationFilter | UserWhereInput No
shippingDetail ShippingDetailNullableRelationFilter | ShippingDetailWhereInput | Null Yes
paymentDetail PaymentDetailNullableRelationFilter | PaymentDetailWhereInput | Null Yes
orderDetail OrderDetailListRelationFilter No

OrderOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
status SortOrder No
tax SortOrder No
total SortOrder No
createdAt SortOrder No
userId SortOrder No
updatedAt SortOrder No
_count OrderCountOrderByAggregateInput No
_avg OrderAvgOrderByAggregateInput No
_max OrderMaxOrderByAggregateInput No
_min OrderMinOrderByAggregateInput No
_sum OrderSumOrderByAggregateInput No


OrderDetailWhereInput

Name Type Nullable
AND OrderDetailWhereInput | OrderDetailWhereInput[] No
OR OrderDetailWhereInput[] No
NOT OrderDetailWhereInput | OrderDetailWhereInput[] No
id IntFilter | Int No
orderId StringFilter | String No
productId IntFilter | Int No
quantity IntFilter | Int No
total DecimalFilter | Decimal No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
product ProductRelationFilter | ProductWhereInput No
order OrderRelationFilter | OrderWhereInput No

OrderDetailOrderByWithRelationInput

Name Type Nullable
id SortOrder No
orderId SortOrder No
productId SortOrder No
quantity SortOrder No
total SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
product ProductOrderByWithRelationInput No
order OrderOrderByWithRelationInput No

OrderDetailWhereUniqueInput

Name Type Nullable
id Int No
AND OrderDetailWhereInput | OrderDetailWhereInput[] No
OR OrderDetailWhereInput[] No
NOT OrderDetailWhereInput | OrderDetailWhereInput[] No
orderId StringFilter | String No
productId IntFilter | Int No
quantity IntFilter | Int No
total DecimalFilter | Decimal No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
product ProductRelationFilter | ProductWhereInput No
order OrderRelationFilter | OrderWhereInput No

OrderDetailOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
orderId SortOrder No
productId SortOrder No
quantity SortOrder No
total SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
_count OrderDetailCountOrderByAggregateInput No
_avg OrderDetailAvgOrderByAggregateInput No
_max OrderDetailMaxOrderByAggregateInput No
_min OrderDetailMinOrderByAggregateInput No
_sum OrderDetailSumOrderByAggregateInput No


PaymentDetailWhereInput

Name Type Nullable
AND PaymentDetailWhereInput | PaymentDetailWhereInput[] No
OR PaymentDetailWhereInput[] No
NOT PaymentDetailWhereInput | PaymentDetailWhereInput[] No
id IntFilter | Int No
billingAddressId IntFilter | Int No
orderId StringFilter | String No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
paymentMethod PaymentMethodListRelationFilter No
billingAddress AddressRelationFilter | AddressWhereInput No
order OrderRelationFilter | OrderWhereInput No

PaymentDetailOrderByWithRelationInput

Name Type Nullable
id SortOrder No
billingAddressId SortOrder No
orderId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
paymentMethod PaymentMethodOrderByRelationAggregateInput No
billingAddress AddressOrderByWithRelationInput No
order OrderOrderByWithRelationInput No

PaymentDetailWhereUniqueInput

Name Type Nullable
id Int No
orderId String No
AND PaymentDetailWhereInput | PaymentDetailWhereInput[] No
OR PaymentDetailWhereInput[] No
NOT PaymentDetailWhereInput | PaymentDetailWhereInput[] No
billingAddressId IntFilter | Int No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
paymentMethod PaymentMethodListRelationFilter No
billingAddress AddressRelationFilter | AddressWhereInput No
order OrderRelationFilter | OrderWhereInput No

PaymentDetailOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
billingAddressId SortOrder No
orderId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
_count PaymentDetailCountOrderByAggregateInput No
_avg PaymentDetailAvgOrderByAggregateInput No
_max PaymentDetailMaxOrderByAggregateInput No
_min PaymentDetailMinOrderByAggregateInput No
_sum PaymentDetailSumOrderByAggregateInput No


PaymentOptionWhereInput

Name Type Nullable
AND PaymentOptionWhereInput | PaymentOptionWhereInput[] No
OR PaymentOptionWhereInput[] No
NOT PaymentOptionWhereInput | PaymentOptionWhereInput[] No
id IntFilter | Int No
paymentType EnumPaymentTypeFilter | PaymentType No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
paymentMethod PaymentMethodListRelationFilter No

PaymentOptionOrderByWithRelationInput

Name Type Nullable
id SortOrder No
paymentType SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
paymentMethod PaymentMethodOrderByRelationAggregateInput No

PaymentOptionWhereUniqueInput

Name Type Nullable
id Int No
AND PaymentOptionWhereInput | PaymentOptionWhereInput[] No
OR PaymentOptionWhereInput[] No
NOT PaymentOptionWhereInput | PaymentOptionWhereInput[] No
paymentType EnumPaymentTypeFilter | PaymentType No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
paymentMethod PaymentMethodListRelationFilter No

PaymentOptionOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
paymentType SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
_count PaymentOptionCountOrderByAggregateInput No
_avg PaymentOptionAvgOrderByAggregateInput No
_max PaymentOptionMaxOrderByAggregateInput No
_min PaymentOptionMinOrderByAggregateInput No
_sum PaymentOptionSumOrderByAggregateInput No


PaymentMethodWhereInput

Name Type Nullable
AND PaymentMethodWhereInput | PaymentMethodWhereInput[] No
OR PaymentMethodWhereInput[] No
NOT PaymentMethodWhereInput | PaymentMethodWhereInput[] No
id IntFilter | Int No
userId IntFilter | Int No
paymentDetailId IntFilter | Int No
paymentOptionId IntFilter | Int No
cardProvider StringNullableFilter | String | Null Yes
nameOnCard StringNullableFilter | String | Null Yes
isDefault BoolFilter | Boolean No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
user UserRelationFilter | UserWhereInput No
paymentDetail PaymentDetailRelationFilter | PaymentDetailWhereInput No
paymentOption PaymentOptionRelationFilter | PaymentOptionWhereInput No

PaymentMethodOrderByWithRelationInput

Name Type Nullable
id SortOrder No
userId SortOrder No
paymentDetailId SortOrder No
paymentOptionId SortOrder No
cardProvider SortOrder | SortOrderInput No
nameOnCard SortOrder | SortOrderInput No
isDefault SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
user UserOrderByWithRelationInput No
paymentDetail PaymentDetailOrderByWithRelationInput No
paymentOption PaymentOptionOrderByWithRelationInput No

PaymentMethodWhereUniqueInput

Name Type Nullable
id Int No
AND PaymentMethodWhereInput | PaymentMethodWhereInput[] No
OR PaymentMethodWhereInput[] No
NOT PaymentMethodWhereInput | PaymentMethodWhereInput[] No
userId IntFilter | Int No
paymentDetailId IntFilter | Int No
paymentOptionId IntFilter | Int No
cardProvider StringNullableFilter | String | Null Yes
nameOnCard StringNullableFilter | String | Null Yes
isDefault BoolFilter | Boolean No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
user UserRelationFilter | UserWhereInput No
paymentDetail PaymentDetailRelationFilter | PaymentDetailWhereInput No
paymentOption PaymentOptionRelationFilter | PaymentOptionWhereInput No

PaymentMethodOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
userId SortOrder No
paymentDetailId SortOrder No
paymentOptionId SortOrder No
cardProvider SortOrder | SortOrderInput No
nameOnCard SortOrder | SortOrderInput No
isDefault SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
_count PaymentMethodCountOrderByAggregateInput No
_avg PaymentMethodAvgOrderByAggregateInput No
_max PaymentMethodMaxOrderByAggregateInput No
_min PaymentMethodMinOrderByAggregateInput No
_sum PaymentMethodSumOrderByAggregateInput No

PaymentMethodScalarWhereWithAggregatesInput

Name Type Nullable
AND PaymentMethodScalarWhereWithAggregatesInput | PaymentMethodScalarWhereWithAggregatesInput[] No
OR PaymentMethodScalarWhereWithAggregatesInput[] No
NOT PaymentMethodScalarWhereWithAggregatesInput | PaymentMethodScalarWhereWithAggregatesInput[] No
id IntWithAggregatesFilter | Int No
userId IntWithAggregatesFilter | Int No
paymentDetailId IntWithAggregatesFilter | Int No
paymentOptionId IntWithAggregatesFilter | Int No
cardProvider StringNullableWithAggregatesFilter | String | Null Yes
nameOnCard StringNullableWithAggregatesFilter | String | Null Yes
isDefault BoolWithAggregatesFilter | Boolean No
createdAt DateTimeWithAggregatesFilter | DateTime No
updatedAt DateTimeWithAggregatesFilter | DateTime No

ShippingDetailWhereInput

Name Type Nullable
AND ShippingDetailWhereInput | ShippingDetailWhereInput[] No
OR ShippingDetailWhereInput[] No
NOT ShippingDetailWhereInput | ShippingDetailWhereInput[] No
id IntFilter | Int No
estimatedArrival DateTimeFilter | DateTime No
shippingAddressId IntFilter | Int No
shippingMethodId IntFilter | Int No
orderId StringFilter | String No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
shippingAddress AddressRelationFilter | AddressWhereInput No
shippingMethod ShippingMethodRelationFilter | ShippingMethodWhereInput No
order OrderRelationFilter | OrderWhereInput No

ShippingDetailOrderByWithRelationInput

Name Type Nullable
id SortOrder No
estimatedArrival SortOrder No
shippingAddressId SortOrder No
shippingMethodId SortOrder No
orderId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
shippingAddress AddressOrderByWithRelationInput No
shippingMethod ShippingMethodOrderByWithRelationInput No
order OrderOrderByWithRelationInput No

ShippingDetailWhereUniqueInput

Name Type Nullable
id Int No
orderId String No
AND ShippingDetailWhereInput | ShippingDetailWhereInput[] No
OR ShippingDetailWhereInput[] No
NOT ShippingDetailWhereInput | ShippingDetailWhereInput[] No
estimatedArrival DateTimeFilter | DateTime No
shippingAddressId IntFilter | Int No
shippingMethodId IntFilter | Int No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
shippingAddress AddressRelationFilter | AddressWhereInput No
shippingMethod ShippingMethodRelationFilter | ShippingMethodWhereInput No
order OrderRelationFilter | OrderWhereInput No

ShippingDetailOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
estimatedArrival SortOrder No
shippingAddressId SortOrder No
shippingMethodId SortOrder No
orderId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
_count ShippingDetailCountOrderByAggregateInput No
_avg ShippingDetailAvgOrderByAggregateInput No
_max ShippingDetailMaxOrderByAggregateInput No
_min ShippingDetailMinOrderByAggregateInput No
_sum ShippingDetailSumOrderByAggregateInput No


ShippingMethodWhereInput

Name Type Nullable
AND ShippingMethodWhereInput | ShippingMethodWhereInput[] No
OR ShippingMethodWhereInput[] No
NOT ShippingMethodWhereInput | ShippingMethodWhereInput[] No
id IntFilter | Int No
name StringFilter | String No
price DecimalFilter | Decimal No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
shippingDetail ShippingDetailListRelationFilter No

ShippingMethodOrderByWithRelationInput

Name Type Nullable
id SortOrder No
name SortOrder No
price SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
shippingDetail ShippingDetailOrderByRelationAggregateInput No

ShippingMethodWhereUniqueInput

Name Type Nullable
id Int No
AND ShippingMethodWhereInput | ShippingMethodWhereInput[] No
OR ShippingMethodWhereInput[] No
NOT ShippingMethodWhereInput | ShippingMethodWhereInput[] No
name StringFilter | String No
price DecimalFilter | Decimal No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
shippingDetail ShippingDetailListRelationFilter No

ShippingMethodOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
name SortOrder No
price SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
_count ShippingMethodCountOrderByAggregateInput No
_avg ShippingMethodAvgOrderByAggregateInput No
_max ShippingMethodMaxOrderByAggregateInput No
_min ShippingMethodMinOrderByAggregateInput No
_sum ShippingMethodSumOrderByAggregateInput No


InvoiceWhereInput

Name Type Nullable
AND InvoiceWhereInput | InvoiceWhereInput[] No
OR InvoiceWhereInput[] No
NOT InvoiceWhereInput | InvoiceWhereInput[] No
id StringFilter | String No

InvoiceOrderByWithRelationInput

Name Type Nullable
id SortOrder No

InvoiceWhereUniqueInput

Name Type Nullable
id String No
AND InvoiceWhereInput | InvoiceWhereInput[] No
OR InvoiceWhereInput[] No
NOT InvoiceWhereInput | InvoiceWhereInput[] No

InvoiceOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
_count InvoiceCountOrderByAggregateInput No
_max InvoiceMaxOrderByAggregateInput No
_min InvoiceMinOrderByAggregateInput No


UserRoleWhereInput

Name Type Nullable
AND UserRoleWhereInput | UserRoleWhereInput[] No
OR UserRoleWhereInput[] No
NOT UserRoleWhereInput | UserRoleWhereInput[] No
id IntFilter | Int No
userId IntFilter | Int No
roleId IntFilter | Int No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
user UserRelationFilter | UserWhereInput No
role RoleRelationFilter | RoleWhereInput No

UserRoleOrderByWithRelationInput

Name Type Nullable
id SortOrder No
userId SortOrder No
roleId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
user UserOrderByWithRelationInput No
role RoleOrderByWithRelationInput No

UserRoleWhereUniqueInput

Name Type Nullable
id Int No
userId_roleId UserRoleUserIdRoleIdCompoundUniqueInput No
AND UserRoleWhereInput | UserRoleWhereInput[] No
OR UserRoleWhereInput[] No
NOT UserRoleWhereInput | UserRoleWhereInput[] No
userId IntFilter | Int No
roleId IntFilter | Int No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
user UserRelationFilter | UserWhereInput No
role RoleRelationFilter | RoleWhereInput No

UserRoleOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
userId SortOrder No
roleId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
_count UserRoleCountOrderByAggregateInput No
_avg UserRoleAvgOrderByAggregateInput No
_max UserRoleMaxOrderByAggregateInput No
_min UserRoleMinOrderByAggregateInput No
_sum UserRoleSumOrderByAggregateInput No


RoleWhereInput

Name Type Nullable
AND RoleWhereInput | RoleWhereInput[] No
OR RoleWhereInput[] No
NOT RoleWhereInput | RoleWhereInput[] No
id IntFilter | Int No
name StringFilter | String No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
users UserRoleListRelationFilter No
permissions RolePermissionListRelationFilter No

RoleOrderByWithRelationInput

Name Type Nullable
id SortOrder No
name SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
users UserRoleOrderByRelationAggregateInput No
permissions RolePermissionOrderByRelationAggregateInput No

RoleWhereUniqueInput

Name Type Nullable
id Int No
name String No
AND RoleWhereInput | RoleWhereInput[] No
OR RoleWhereInput[] No
NOT RoleWhereInput | RoleWhereInput[] No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
users UserRoleListRelationFilter No
permissions RolePermissionListRelationFilter No

RoleOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
name SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
_count RoleCountOrderByAggregateInput No
_avg RoleAvgOrderByAggregateInput No
_max RoleMaxOrderByAggregateInput No
_min RoleMinOrderByAggregateInput No
_sum RoleSumOrderByAggregateInput No


RolePermissionWhereInput

Name Type Nullable
AND RolePermissionWhereInput | RolePermissionWhereInput[] No
OR RolePermissionWhereInput[] No
NOT RolePermissionWhereInput | RolePermissionWhereInput[] No
id IntFilter | Int No
roleId IntFilter | Int No
permissionId IntFilter | Int No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
role RoleRelationFilter | RoleWhereInput No
permission PermissionRelationFilter | PermissionWhereInput No

RolePermissionOrderByWithRelationInput

Name Type Nullable
id SortOrder No
roleId SortOrder No
permissionId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
role RoleOrderByWithRelationInput No
permission PermissionOrderByWithRelationInput No

RolePermissionWhereUniqueInput

Name Type Nullable
id Int No
roleId_permissionId RolePermissionRoleIdPermissionIdCompoundUniqueInput No
AND RolePermissionWhereInput | RolePermissionWhereInput[] No
OR RolePermissionWhereInput[] No
NOT RolePermissionWhereInput | RolePermissionWhereInput[] No
roleId IntFilter | Int No
permissionId IntFilter | Int No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
role RoleRelationFilter | RoleWhereInput No
permission PermissionRelationFilter | PermissionWhereInput No

RolePermissionOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
roleId SortOrder No
permissionId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
_count RolePermissionCountOrderByAggregateInput No
_avg RolePermissionAvgOrderByAggregateInput No
_max RolePermissionMaxOrderByAggregateInput No
_min RolePermissionMinOrderByAggregateInput No
_sum RolePermissionSumOrderByAggregateInput No


PermissionWhereInput

Name Type Nullable
AND PermissionWhereInput | PermissionWhereInput[] No
OR PermissionWhereInput[] No
NOT PermissionWhereInput | PermissionWhereInput[] No
id IntFilter | Int No
resource StringFilter | String No
accessType EnumAccessTypeFilter | AccessType No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
roles RolePermissionListRelationFilter No

PermissionOrderByWithRelationInput

Name Type Nullable
id SortOrder No
resource SortOrder No
accessType SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
roles RolePermissionOrderByRelationAggregateInput No

PermissionWhereUniqueInput

Name Type Nullable
id Int No
AND PermissionWhereInput | PermissionWhereInput[] No
OR PermissionWhereInput[] No
NOT PermissionWhereInput | PermissionWhereInput[] No
resource StringFilter | String No
accessType EnumAccessTypeFilter | AccessType No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
roles RolePermissionListRelationFilter No

PermissionOrderByWithAggregationInput

Name Type Nullable
id SortOrder No
resource SortOrder No
accessType SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
_count PermissionCountOrderByAggregateInput No
_avg PermissionAvgOrderByAggregateInput No
_max PermissionMaxOrderByAggregateInput No
_min PermissionMinOrderByAggregateInput No
_sum PermissionSumOrderByAggregateInput No


ProductCreateInput

Name Type Nullable
productName String No
productDesc String No
shortDesc String | Null Yes
grade Grade | Null Yes
sku String | Null Yes
price Decimal No
msrp Decimal | Null Yes
size String | Null Yes
weight Decimal | Null Yes
weightUnit String | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | Null Yes
soldQuantity Int | Null Yes
isActive Boolean | Null Yes
isAvailable Boolean | Null Yes
slug String | Null Yes
imageUrl String | Null Yes
createdAt DateTime No
updatedAt DateTime No
category CategoryCreateNestedOneWithoutProductInput No
orderDetail OrderDetailCreateNestedManyWithoutProductInput No
cartItem CartItemCreateNestedManyWithoutProductInput No
productInventory ProductInventoryCreateNestedManyWithoutProductInput No
productImage ProductImageCreateNestedManyWithoutProductInput No
reviews UserReviewCreateNestedManyWithoutProductInput No

ProductUncheckedCreateInput

Name Type Nullable
id Int No
productName String No
productDesc String No
shortDesc String | Null Yes
grade Grade | Null Yes
sku String | Null Yes
price Decimal No
msrp Decimal | Null Yes
size String | Null Yes
weight Decimal | Null Yes
weightUnit String | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | Null Yes
soldQuantity Int | Null Yes
isActive Boolean | Null Yes
isAvailable Boolean | Null Yes
slug String | Null Yes
imageUrl String | Null Yes
createdAt DateTime No
updatedAt DateTime No
categoryId Int No
orderDetail OrderDetailUncheckedCreateNestedManyWithoutProductInput No
cartItem CartItemUncheckedCreateNestedManyWithoutProductInput No
productInventory ProductInventoryUncheckedCreateNestedManyWithoutProductInput No
productImage ProductImageUncheckedCreateNestedManyWithoutProductInput No
reviews UserReviewUncheckedCreateNestedManyWithoutProductInput No

ProductUpdateInput

Name Type Nullable
productName String | StringFieldUpdateOperationsInput No
productDesc String | StringFieldUpdateOperationsInput No
shortDesc String | NullableStringFieldUpdateOperationsInput | Null Yes
grade Grade | NullableEnumGradeFieldUpdateOperationsInput | Null Yes
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
price Decimal | DecimalFieldUpdateOperationsInput No
msrp Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
size String | NullableStringFieldUpdateOperationsInput | Null Yes
weight Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
weightUnit String | NullableStringFieldUpdateOperationsInput | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
soldQuantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
isActive Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
isAvailable Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
imageUrl String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
category CategoryUpdateOneRequiredWithoutProductNestedInput No
orderDetail OrderDetailUpdateManyWithoutProductNestedInput No
cartItem CartItemUpdateManyWithoutProductNestedInput No
productInventory ProductInventoryUpdateManyWithoutProductNestedInput No
productImage ProductImageUpdateManyWithoutProductNestedInput No
reviews UserReviewUpdateManyWithoutProductNestedInput No

ProductUncheckedUpdateInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
productName String | StringFieldUpdateOperationsInput No
productDesc String | StringFieldUpdateOperationsInput No
shortDesc String | NullableStringFieldUpdateOperationsInput | Null Yes
grade Grade | NullableEnumGradeFieldUpdateOperationsInput | Null Yes
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
price Decimal | DecimalFieldUpdateOperationsInput No
msrp Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
size String | NullableStringFieldUpdateOperationsInput | Null Yes
weight Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
weightUnit String | NullableStringFieldUpdateOperationsInput | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
soldQuantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
isActive Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
isAvailable Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
imageUrl String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
categoryId Int | IntFieldUpdateOperationsInput No
orderDetail OrderDetailUncheckedUpdateManyWithoutProductNestedInput No
cartItem CartItemUncheckedUpdateManyWithoutProductNestedInput No
productInventory ProductInventoryUncheckedUpdateManyWithoutProductNestedInput No
productImage ProductImageUncheckedUpdateManyWithoutProductNestedInput No
reviews UserReviewUncheckedUpdateManyWithoutProductNestedInput No

ProductCreateManyInput

Name Type Nullable
id Int No
productName String No
productDesc String No
shortDesc String | Null Yes
grade Grade | Null Yes
sku String | Null Yes
price Decimal No
msrp Decimal | Null Yes
size String | Null Yes
weight Decimal | Null Yes
weightUnit String | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | Null Yes
soldQuantity Int | Null Yes
isActive Boolean | Null Yes
isAvailable Boolean | Null Yes
slug String | Null Yes
imageUrl String | Null Yes
createdAt DateTime No
updatedAt DateTime No
categoryId Int No

ProductUpdateManyMutationInput

Name Type Nullable
productName String | StringFieldUpdateOperationsInput No
productDesc String | StringFieldUpdateOperationsInput No
shortDesc String | NullableStringFieldUpdateOperationsInput | Null Yes
grade Grade | NullableEnumGradeFieldUpdateOperationsInput | Null Yes
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
price Decimal | DecimalFieldUpdateOperationsInput No
msrp Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
size String | NullableStringFieldUpdateOperationsInput | Null Yes
weight Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
weightUnit String | NullableStringFieldUpdateOperationsInput | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
soldQuantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
isActive Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
isAvailable Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
imageUrl String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductUncheckedUpdateManyInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
productName String | StringFieldUpdateOperationsInput No
productDesc String | StringFieldUpdateOperationsInput No
shortDesc String | NullableStringFieldUpdateOperationsInput | Null Yes
grade Grade | NullableEnumGradeFieldUpdateOperationsInput | Null Yes
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
price Decimal | DecimalFieldUpdateOperationsInput No
msrp Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
size String | NullableStringFieldUpdateOperationsInput | Null Yes
weight Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
weightUnit String | NullableStringFieldUpdateOperationsInput | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
soldQuantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
isActive Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
isAvailable Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
imageUrl String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
categoryId Int | IntFieldUpdateOperationsInput No

CategoryCreateInput

Name Type Nullable
categoryName String No
categoryDesc String No
slug String | Null Yes
createdAt DateTime No
updatedAt DateTime No
parentCategory CategoryCreateNestedOneWithoutChildCategoriesInput No
childCategories CategoryCreateNestedManyWithoutParentCategoryInput No
product ProductCreateNestedManyWithoutCategoryInput No
promotionCategory PromotionCategoryCreateNestedManyWithoutCategoryInput No

CategoryUncheckedCreateInput

Name Type Nullable
id Int No
categoryName String No
categoryDesc String No
slug String | Null Yes
createdAt DateTime No
updatedAt DateTime No
parentCategoryId Int | Null Yes
childCategories CategoryUncheckedCreateNestedManyWithoutParentCategoryInput No
product ProductUncheckedCreateNestedManyWithoutCategoryInput No
promotionCategory PromotionCategoryUncheckedCreateNestedManyWithoutCategoryInput No


CategoryUncheckedUpdateInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
categoryName String | StringFieldUpdateOperationsInput No
categoryDesc String | StringFieldUpdateOperationsInput No
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
parentCategoryId Int | NullableIntFieldUpdateOperationsInput | Null Yes
childCategories CategoryUncheckedUpdateManyWithoutParentCategoryNestedInput No
product ProductUncheckedUpdateManyWithoutCategoryNestedInput No
promotionCategory PromotionCategoryUncheckedUpdateManyWithoutCategoryNestedInput No

CategoryCreateManyInput

Name Type Nullable
id Int No
categoryName String No
categoryDesc String No
slug String | Null Yes
createdAt DateTime No
updatedAt DateTime No
parentCategoryId Int | Null Yes

CategoryUpdateManyMutationInput

Name Type Nullable
categoryName String | StringFieldUpdateOperationsInput No
categoryDesc String | StringFieldUpdateOperationsInput No
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

CategoryUncheckedUpdateManyInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
categoryName String | StringFieldUpdateOperationsInput No
categoryDesc String | StringFieldUpdateOperationsInput No
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
parentCategoryId Int | NullableIntFieldUpdateOperationsInput | Null Yes

ProductInventoryCreateInput

Name Type Nullable
quantity Int No
reStockLevel Int | Null Yes
status InventoryStatus No
createdAt DateTime No
updatedAt DateTime No
product ProductCreateNestedOneWithoutProductInventoryInput No

ProductInventoryUncheckedCreateInput

Name Type Nullable
id Int No
quantity Int No
reStockLevel Int | Null Yes
status InventoryStatus No
createdAt DateTime No
updatedAt DateTime No
productId Int No

ProductInventoryUpdateInput

Name Type Nullable
quantity Int | IntFieldUpdateOperationsInput No
reStockLevel Int | NullableIntFieldUpdateOperationsInput | Null Yes
status InventoryStatus | EnumInventoryStatusFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product ProductUpdateOneRequiredWithoutProductInventoryNestedInput No

ProductInventoryUncheckedUpdateInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
reStockLevel Int | NullableIntFieldUpdateOperationsInput | Null Yes
status InventoryStatus | EnumInventoryStatusFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
productId Int | IntFieldUpdateOperationsInput No

ProductInventoryCreateManyInput

Name Type Nullable
id Int No
quantity Int No
reStockLevel Int | Null Yes
status InventoryStatus No
createdAt DateTime No
updatedAt DateTime No
productId Int No

ProductInventoryUpdateManyMutationInput

Name Type Nullable
quantity Int | IntFieldUpdateOperationsInput No
reStockLevel Int | NullableIntFieldUpdateOperationsInput | Null Yes
status InventoryStatus | EnumInventoryStatusFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductInventoryUncheckedUpdateManyInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
reStockLevel Int | NullableIntFieldUpdateOperationsInput | Null Yes
status InventoryStatus | EnumInventoryStatusFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
productId Int | IntFieldUpdateOperationsInput No

ProductImageCreateInput

Name Type Nullable
imageUrl String No
createdAt DateTime No
updatedAt DateTime No
product ProductCreateNestedOneWithoutProductImageInput No

ProductImageUncheckedCreateInput

Name Type Nullable
id Int No
imageUrl String No
productId Int No
createdAt DateTime No
updatedAt DateTime No

ProductImageUpdateInput

Name Type Nullable
imageUrl String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product ProductUpdateOneRequiredWithoutProductImageNestedInput No

ProductImageUncheckedUpdateInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
imageUrl String | StringFieldUpdateOperationsInput No
productId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductImageCreateManyInput

Name Type Nullable
id Int No
imageUrl String No
productId Int No
createdAt DateTime No
updatedAt DateTime No

ProductImageUpdateManyMutationInput

Name Type Nullable
imageUrl String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductImageUncheckedUpdateManyInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
imageUrl String | StringFieldUpdateOperationsInput No
productId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserCreateInput

Name Type Nullable
email String No
createdAt DateTime No
updatedAt DateTime No
preference NullableJsonNullValueInput | Json No
balance Int No
authenticationToken AuthenticationTokenCreateNestedOneWithoutUserInput No
profile UserProfileCreateNestedOneWithoutUserInput No
authoredReviews UserReviewCreateNestedManyWithoutAuthorInput No
cart CartCreateNestedOneWithoutUserInput No
login LoginCreateNestedOneWithoutUserInput No
roles UserRoleCreateNestedManyWithoutUserInput No
paymentMethod PaymentMethodCreateNestedManyWithoutUserInput No
orders OrderCreateNestedManyWithoutUserInput No



UserUncheckedUpdateInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
email String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
preference NullableJsonNullValueInput | Json No
balance Int | IntFieldUpdateOperationsInput No
authenticationToken AuthenticationTokenUncheckedUpdateOneWithoutUserNestedInput No
profile UserProfileUncheckedUpdateOneWithoutUserNestedInput No
authoredReviews UserReviewUncheckedUpdateManyWithoutAuthorNestedInput No
cart CartUncheckedUpdateOneWithoutUserNestedInput No
login LoginUncheckedUpdateOneWithoutUserNestedInput No
roles UserRoleUncheckedUpdateManyWithoutUserNestedInput No
paymentMethod PaymentMethodUncheckedUpdateManyWithoutUserNestedInput No
orders OrderUncheckedUpdateManyWithoutUserNestedInput No

UserCreateManyInput

Name Type Nullable
id Int No
email String No
createdAt DateTime No
updatedAt DateTime No
preference NullableJsonNullValueInput | Json No
balance Int No

UserUpdateManyMutationInput

Name Type Nullable
email String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
preference NullableJsonNullValueInput | Json No
balance Int | IntFieldUpdateOperationsInput No

UserUncheckedUpdateManyInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
email String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
preference NullableJsonNullValueInput | Json No
balance Int | IntFieldUpdateOperationsInput No

LoginCreateInput

Name Type Nullable
id String No
username String No
password String No
failedAttempts Int No
lockoutTime DateTime | Null Yes
lastLogin DateTime | Null Yes
createdAt DateTime No
updatedAt DateTime No
user UserCreateNestedOneWithoutLoginInput No

LoginUncheckedCreateInput

Name Type Nullable
id String No
username String No
password String No
failedAttempts Int No
lockoutTime DateTime | Null Yes
lastLogin DateTime | Null Yes
userId Int No
createdAt DateTime No
updatedAt DateTime No

LoginUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
username String | StringFieldUpdateOperationsInput No
password String | StringFieldUpdateOperationsInput No
failedAttempts Int | IntFieldUpdateOperationsInput No
lockoutTime DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
lastLogin DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
user UserUpdateOneRequiredWithoutLoginNestedInput No

LoginUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
username String | StringFieldUpdateOperationsInput No
password String | StringFieldUpdateOperationsInput No
failedAttempts Int | IntFieldUpdateOperationsInput No
lockoutTime DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
lastLogin DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
userId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

LoginCreateManyInput

Name Type Nullable
id String No
username String No
password String No
failedAttempts Int No
lockoutTime DateTime | Null Yes
lastLogin DateTime | Null Yes
userId Int No
createdAt DateTime No
updatedAt DateTime No

LoginUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
username String | StringFieldUpdateOperationsInput No
password String | StringFieldUpdateOperationsInput No
failedAttempts Int | IntFieldUpdateOperationsInput No
lockoutTime DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
lastLogin DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

LoginUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
username String | StringFieldUpdateOperationsInput No
password String | StringFieldUpdateOperationsInput No
failedAttempts Int | IntFieldUpdateOperationsInput No
lockoutTime DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
lastLogin DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
userId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

AuthenticationTokenCreateInput

Name Type Nullable
token String No
expiry DateTime | Null Yes
createdAt DateTime No
updatedAt DateTime No
user UserCreateNestedOneWithoutAuthenticationTokenInput No

AuthenticationTokenUncheckedCreateInput

Name Type Nullable
id Int No
token String No
expiry DateTime | Null Yes
userId Int No
createdAt DateTime No
updatedAt DateTime No

AuthenticationTokenUpdateInput

Name Type Nullable
token String | StringFieldUpdateOperationsInput No
expiry DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
user UserUpdateOneRequiredWithoutAuthenticationTokenNestedInput No

AuthenticationTokenUncheckedUpdateInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
token String | StringFieldUpdateOperationsInput No
expiry DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
userId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

AuthenticationTokenCreateManyInput

Name Type Nullable
id Int No
token String No
expiry DateTime | Null Yes
userId Int No
createdAt DateTime No
updatedAt DateTime No

AuthenticationTokenUpdateManyMutationInput

Name Type Nullable
token String | StringFieldUpdateOperationsInput No
expiry DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

AuthenticationTokenUncheckedUpdateManyInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
token String | StringFieldUpdateOperationsInput No
expiry DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
userId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserProfileCreateInput

Name Type Nullable
firstName String | Null Yes
lastName String | Null Yes
phone String | Null Yes
birthDate DateTime | Null Yes
gender Gender | Null Yes
photo String | Null Yes
bio String | Null Yes
createdAt DateTime No
updatedAt DateTime No
userAddress UserAddressCreateNestedManyWithoutUserProfileInput No
socialLinks SocialLinkCreateNestedManyWithoutUserProfileInput No
user UserCreateNestedOneWithoutProfileInput No

UserProfileUncheckedCreateInput

Name Type Nullable
id Int No
firstName String | Null Yes
lastName String | Null Yes
phone String | Null Yes
birthDate DateTime | Null Yes
gender Gender | Null Yes
photo String | Null Yes
bio String | Null Yes
userId Int No
createdAt DateTime No
updatedAt DateTime No
userAddress UserAddressUncheckedCreateNestedManyWithoutUserProfileInput No
socialLinks SocialLinkUncheckedCreateNestedManyWithoutUserProfileInput No

UserProfileUpdateInput

Name Type Nullable
firstName String | NullableStringFieldUpdateOperationsInput | Null Yes
lastName String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
birthDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
gender Gender | NullableEnumGenderFieldUpdateOperationsInput | Null Yes
photo String | NullableStringFieldUpdateOperationsInput | Null Yes
bio String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
userAddress UserAddressUpdateManyWithoutUserProfileNestedInput No
socialLinks SocialLinkUpdateManyWithoutUserProfileNestedInput No
user UserUpdateOneRequiredWithoutProfileNestedInput No

UserProfileUncheckedUpdateInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
firstName String | NullableStringFieldUpdateOperationsInput | Null Yes
lastName String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
birthDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
gender Gender | NullableEnumGenderFieldUpdateOperationsInput | Null Yes
photo String | NullableStringFieldUpdateOperationsInput | Null Yes
bio String | NullableStringFieldUpdateOperationsInput | Null Yes
userId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
userAddress UserAddressUncheckedUpdateManyWithoutUserProfileNestedInput No
socialLinks SocialLinkUncheckedUpdateManyWithoutUserProfileNestedInput No

UserProfileCreateManyInput

Name Type Nullable
id Int No
firstName String | Null Yes
lastName String | Null Yes
phone String | Null Yes
birthDate DateTime | Null Yes
gender Gender | Null Yes
photo String | Null Yes
bio String | Null Yes
userId Int No
createdAt DateTime No
updatedAt DateTime No

UserProfileUpdateManyMutationInput

Name Type Nullable
firstName String | NullableStringFieldUpdateOperationsInput | Null Yes
lastName String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
birthDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
gender Gender | NullableEnumGenderFieldUpdateOperationsInput | Null Yes
photo String | NullableStringFieldUpdateOperationsInput | Null Yes
bio String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserProfileUncheckedUpdateManyInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
firstName String | NullableStringFieldUpdateOperationsInput | Null Yes
lastName String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
birthDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
gender Gender | NullableEnumGenderFieldUpdateOperationsInput | Null Yes
photo String | NullableStringFieldUpdateOperationsInput | Null Yes
bio String | NullableStringFieldUpdateOperationsInput | Null Yes
userId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserAddressCreateInput

Name Type Nullable
isDefault Boolean No
createdAt DateTime No
updatedAt DateTime No
userProfile UserProfileCreateNestedOneWithoutUserAddressInput No
address AddressCreateNestedOneWithoutUserAddressInput No

UserAddressUncheckedCreateInput

Name Type Nullable
id Int No
userProfileId Int No
addressId Int No
isDefault Boolean No
createdAt DateTime No
updatedAt DateTime No

UserAddressUpdateInput

Name Type Nullable
isDefault Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
userProfile UserProfileUpdateOneRequiredWithoutUserAddressNestedInput No
address AddressUpdateOneRequiredWithoutUserAddressNestedInput No

UserAddressUncheckedUpdateInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
userProfileId Int | IntFieldUpdateOperationsInput No
addressId Int | IntFieldUpdateOperationsInput No
isDefault Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserAddressCreateManyInput

Name Type Nullable
id Int No
userProfileId Int No
addressId Int No
isDefault Boolean No
createdAt DateTime No
updatedAt DateTime No

UserAddressUpdateManyMutationInput

Name Type Nullable
isDefault Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserAddressUncheckedUpdateManyInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
userProfileId Int | IntFieldUpdateOperationsInput No
addressId Int | IntFieldUpdateOperationsInput No
isDefault Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

AddressCreateInput

Name Type Nullable
street String No
unit String No
city String No
zipcode String No
state String No
country String No
planet String | Null Yes
solarSystem String | Null Yes
galaxy String | Null Yes
localGroup String | Null Yes
localCluster String | Null Yes
universe String | Null Yes
createdAt DateTime No
updatedAt DateTime No
userAddress UserAddressCreateNestedManyWithoutAddressInput No
paymentDetail PaymentDetailCreateNestedManyWithoutBillingAddressInput No
shippingDetail ShippingDetailCreateNestedManyWithoutShippingAddressInput No

AddressUncheckedCreateInput

Name Type Nullable
id Int No
street String No
unit String No
city String No
zipcode String No
state String No
country String No
planet String | Null Yes
solarSystem String | Null Yes
galaxy String | Null Yes
localGroup String | Null Yes
localCluster String | Null Yes
universe String | Null Yes
createdAt DateTime No
updatedAt DateTime No
userAddress UserAddressUncheckedCreateNestedManyWithoutAddressInput No
paymentDetail PaymentDetailUncheckedCreateNestedManyWithoutBillingAddressInput No
shippingDetail ShippingDetailUncheckedCreateNestedManyWithoutShippingAddressInput No

AddressUpdateInput

Name Type Nullable
street String | StringFieldUpdateOperationsInput No
unit String | StringFieldUpdateOperationsInput No
city String | StringFieldUpdateOperationsInput No
zipcode String | StringFieldUpdateOperationsInput No
state String | StringFieldUpdateOperationsInput No
country String | StringFieldUpdateOperationsInput No
planet String | NullableStringFieldUpdateOperationsInput | Null Yes
solarSystem String | NullableStringFieldUpdateOperationsInput | Null Yes
galaxy String | NullableStringFieldUpdateOperationsInput | Null Yes
localGroup String | NullableStringFieldUpdateOperationsInput | Null Yes
localCluster String | NullableStringFieldUpdateOperationsInput | Null Yes
universe String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
userAddress UserAddressUpdateManyWithoutAddressNestedInput No
paymentDetail PaymentDetailUpdateManyWithoutBillingAddressNestedInput No
shippingDetail ShippingDetailUpdateManyWithoutShippingAddressNestedInput No

AddressUncheckedUpdateInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
street String | StringFieldUpdateOperationsInput No
unit String | StringFieldUpdateOperationsInput No
city String | StringFieldUpdateOperationsInput No
zipcode String | StringFieldUpdateOperationsInput No
state String | StringFieldUpdateOperationsInput No
country String | StringFieldUpdateOperationsInput No
planet String | NullableStringFieldUpdateOperationsInput | Null Yes
solarSystem String | NullableStringFieldUpdateOperationsInput | Null Yes
galaxy String | NullableStringFieldUpdateOperationsInput | Null Yes
localGroup String | NullableStringFieldUpdateOperationsInput | Null Yes
localCluster String | NullableStringFieldUpdateOperationsInput | Null Yes
universe String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
userAddress UserAddressUncheckedUpdateManyWithoutAddressNestedInput No
paymentDetail PaymentDetailUncheckedUpdateManyWithoutBillingAddressNestedInput No
shippingDetail ShippingDetailUncheckedUpdateManyWithoutShippingAddressNestedInput No

AddressCreateManyInput

Name Type Nullable
id Int No
street String No
unit String No
city String No
zipcode String No
state String No
country String No
planet String | Null Yes
solarSystem String | Null Yes
galaxy String | Null Yes
localGroup String | Null Yes
localCluster String | Null Yes
universe String | Null Yes
createdAt DateTime No
updatedAt DateTime No

AddressUpdateManyMutationInput

Name Type Nullable
street String | StringFieldUpdateOperationsInput No
unit String | StringFieldUpdateOperationsInput No
city String | StringFieldUpdateOperationsInput No
zipcode String | StringFieldUpdateOperationsInput No
state String | StringFieldUpdateOperationsInput No
country String | StringFieldUpdateOperationsInput No
planet String | NullableStringFieldUpdateOperationsInput | Null Yes
solarSystem String | NullableStringFieldUpdateOperationsInput | Null Yes
galaxy String | NullableStringFieldUpdateOperationsInput | Null Yes
localGroup String | NullableStringFieldUpdateOperationsInput | Null Yes
localCluster String | NullableStringFieldUpdateOperationsInput | Null Yes
universe String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

AddressUncheckedUpdateManyInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
street String | StringFieldUpdateOperationsInput No
unit String | StringFieldUpdateOperationsInput No
city String | StringFieldUpdateOperationsInput No
zipcode String | StringFieldUpdateOperationsInput No
state String | StringFieldUpdateOperationsInput No
country String | StringFieldUpdateOperationsInput No
planet String | NullableStringFieldUpdateOperationsInput | Null Yes
solarSystem String | NullableStringFieldUpdateOperationsInput | Null Yes
galaxy String | NullableStringFieldUpdateOperationsInput | Null Yes
localGroup String | NullableStringFieldUpdateOperationsInput | Null Yes
localCluster String | NullableStringFieldUpdateOperationsInput | Null Yes
universe String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

SocialLinkCreateInput

Name Type Nullable
socialProvider String No
socialUrl String No
createdAt DateTime No
updatedAt DateTime No
UserProfile UserProfileCreateNestedOneWithoutSocialLinksInput No

SocialLinkUncheckedCreateInput

Name Type Nullable
id Int No
userProfileId Int No
socialProvider String No
socialUrl String No
createdAt DateTime No
updatedAt DateTime No

SocialLinkUpdateInput

Name Type Nullable
socialProvider String | StringFieldUpdateOperationsInput No
socialUrl String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
UserProfile UserProfileUpdateOneRequiredWithoutSocialLinksNestedInput No

SocialLinkUncheckedUpdateInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
userProfileId Int | IntFieldUpdateOperationsInput No
socialProvider String | StringFieldUpdateOperationsInput No
socialUrl String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

SocialLinkCreateManyInput

Name Type Nullable
id Int No
userProfileId Int No
socialProvider String No
socialUrl String No
createdAt DateTime No
updatedAt DateTime No

SocialLinkUpdateManyMutationInput

Name Type Nullable
socialProvider String | StringFieldUpdateOperationsInput No
socialUrl String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

SocialLinkUncheckedUpdateManyInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
userProfileId Int | IntFieldUpdateOperationsInput No
socialProvider String | StringFieldUpdateOperationsInput No
socialUrl String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserReviewCreateInput

Name Type Nullable
title String No
message String No
rating Int No
createdAt DateTime No
updatedAt DateTime No
author UserCreateNestedOneWithoutAuthoredReviewsInput No
product ProductCreateNestedOneWithoutReviewsInput No

UserReviewUncheckedCreateInput

Name Type Nullable
id Int No
title String No
message String No
rating Int No
authorId Int No
productId Int No
createdAt DateTime No
updatedAt DateTime No


UserReviewUncheckedUpdateInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
title String | StringFieldUpdateOperationsInput No
message String | StringFieldUpdateOperationsInput No
rating Int | IntFieldUpdateOperationsInput No
authorId Int | IntFieldUpdateOperationsInput No
productId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserReviewCreateManyInput

Name Type Nullable
id Int No
title String No
message String No
rating Int No
authorId Int No
productId Int No
createdAt DateTime No
updatedAt DateTime No

UserReviewUpdateManyMutationInput

Name Type Nullable
title String | StringFieldUpdateOperationsInput No
message String | StringFieldUpdateOperationsInput No
rating Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserReviewUncheckedUpdateManyInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
title String | StringFieldUpdateOperationsInput No
message String | StringFieldUpdateOperationsInput No
rating Int | IntFieldUpdateOperationsInput No
authorId Int | IntFieldUpdateOperationsInput No
productId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PromotionCategoryCreateInput

Name Type Nullable
createdAt DateTime No
updatedAt DateTime No
category CategoryCreateNestedOneWithoutPromotionCategoryInput No
promotion PromotionCreateNestedOneWithoutPromotionCategoryInput No

PromotionCategoryUncheckedCreateInput

Name Type Nullable
id Int No
categoryId Int No
promotionId Int No
createdAt DateTime No
updatedAt DateTime No

PromotionCategoryUpdateInput

Name Type Nullable
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
category CategoryUpdateOneRequiredWithoutPromotionCategoryNestedInput No
promotion PromotionUpdateOneRequiredWithoutPromotionCategoryNestedInput No

PromotionCategoryUncheckedUpdateInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
categoryId Int | IntFieldUpdateOperationsInput No
promotionId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PromotionCategoryCreateManyInput

Name Type Nullable
id Int No
categoryId Int No
promotionId Int No
createdAt DateTime No
updatedAt DateTime No

PromotionCategoryUpdateManyMutationInput

Name Type Nullable
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PromotionCategoryUncheckedUpdateManyInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
categoryId Int | IntFieldUpdateOperationsInput No
promotionId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PromotionCreateInput

Name Type Nullable
promotionName String No
promotionDesc String No
promotionRate Int No
isActive Boolean No
startDate DateTime No
endDate DateTime No
createdAt DateTime No
updatedAt DateTime No
promotionCategory PromotionCategoryCreateNestedManyWithoutPromotionInput No
CartItem CartItemCreateNestedOneWithoutPromotionInput No

PromotionUncheckedCreateInput

Name Type Nullable
id Int No
promotionName String No
promotionDesc String No
promotionRate Int No
isActive Boolean No
startDate DateTime No
endDate DateTime No
createdAt DateTime No
updatedAt DateTime No
promotionCategory PromotionCategoryUncheckedCreateNestedManyWithoutPromotionInput No
CartItem CartItemUncheckedCreateNestedOneWithoutPromotionInput No

PromotionUpdateInput

Name Type Nullable
promotionName String | StringFieldUpdateOperationsInput No
promotionDesc String | StringFieldUpdateOperationsInput No
promotionRate Int | IntFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
startDate DateTime | DateTimeFieldUpdateOperationsInput No
endDate DateTime | DateTimeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
promotionCategory PromotionCategoryUpdateManyWithoutPromotionNestedInput No
CartItem CartItemUpdateOneWithoutPromotionNestedInput No

PromotionUncheckedUpdateInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
promotionName String | StringFieldUpdateOperationsInput No
promotionDesc String | StringFieldUpdateOperationsInput No
promotionRate Int | IntFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
startDate DateTime | DateTimeFieldUpdateOperationsInput No
endDate DateTime | DateTimeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
promotionCategory PromotionCategoryUncheckedUpdateManyWithoutPromotionNestedInput No
CartItem CartItemUncheckedUpdateOneWithoutPromotionNestedInput No

PromotionCreateManyInput

Name Type Nullable
id Int No
promotionName String No
promotionDesc String No
promotionRate Int No
isActive Boolean No
startDate DateTime No
endDate DateTime No
createdAt DateTime No
updatedAt DateTime No

PromotionUpdateManyMutationInput

Name Type Nullable
promotionName String | StringFieldUpdateOperationsInput No
promotionDesc String | StringFieldUpdateOperationsInput No
promotionRate Int | IntFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
startDate DateTime | DateTimeFieldUpdateOperationsInput No
endDate DateTime | DateTimeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PromotionUncheckedUpdateManyInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
promotionName String | StringFieldUpdateOperationsInput No
promotionDesc String | StringFieldUpdateOperationsInput No
promotionRate Int | IntFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
startDate DateTime | DateTimeFieldUpdateOperationsInput No
endDate DateTime | DateTimeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

CartItemCreateInput

Name Type Nullable
quantity Int No
createdAt DateTime No
updatedAt DateTime No
cart CartCreateNestedOneWithoutCartItemsInput No
product ProductCreateNestedOneWithoutCartItemInput No
Promotion PromotionCreateNestedOneWithoutCartItemInput No

CartItemUncheckedCreateInput

Name Type Nullable
id Int No
cartId Int No
productId Int No
quantity Int No
promotionId Int | Null Yes
createdAt DateTime No
updatedAt DateTime No


CartItemUncheckedUpdateInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
cartId Int | IntFieldUpdateOperationsInput No
productId Int | IntFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
promotionId Int | NullableIntFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

CartItemCreateManyInput

Name Type Nullable
id Int No
cartId Int No
productId Int No
quantity Int No
promotionId Int | Null Yes
createdAt DateTime No
updatedAt DateTime No

CartItemUpdateManyMutationInput

Name Type Nullable
quantity Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

CartItemUncheckedUpdateManyInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
cartId Int | IntFieldUpdateOperationsInput No
productId Int | IntFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
promotionId Int | NullableIntFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

CartCreateInput

Name Type Nullable
createdAt DateTime No
updatedAt DateTime No
user UserCreateNestedOneWithoutCartInput No
cartItems CartItemCreateNestedManyWithoutCartInput No

CartUncheckedCreateInput

Name Type Nullable
id Int No
userId Int No
createdAt DateTime No
updatedAt DateTime No
cartItems CartItemUncheckedCreateNestedManyWithoutCartInput No

CartUpdateInput

Name Type Nullable
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
user UserUpdateOneRequiredWithoutCartNestedInput No
cartItems CartItemUpdateManyWithoutCartNestedInput No

CartUncheckedUpdateInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
userId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
cartItems CartItemUncheckedUpdateManyWithoutCartNestedInput No

CartCreateManyInput

Name Type Nullable
id Int No
userId Int No
createdAt DateTime No
updatedAt DateTime No

CartUpdateManyMutationInput

Name Type Nullable
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

CartUncheckedUpdateManyInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
userId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

OrderCreateInput

Name Type Nullable
id String No
status OrderStatusType No
tax Decimal No
total Decimal No
createdAt DateTime No
updatedAt DateTime No
user UserCreateNestedOneWithoutOrdersInput No
shippingDetail ShippingDetailCreateNestedOneWithoutOrderInput No
paymentDetail PaymentDetailCreateNestedOneWithoutOrderInput No
orderDetail OrderDetailCreateNestedManyWithoutOrderInput No

OrderUncheckedCreateInput

Name Type Nullable
id String No
status OrderStatusType No
tax Decimal No
total Decimal No
createdAt DateTime No
userId Int No
updatedAt DateTime No
shippingDetail ShippingDetailUncheckedCreateNestedOneWithoutOrderInput No
paymentDetail PaymentDetailUncheckedCreateNestedOneWithoutOrderInput No
orderDetail OrderDetailUncheckedCreateNestedManyWithoutOrderInput No



OrderCreateManyInput

Name Type Nullable
id String No
status OrderStatusType No
tax Decimal No
total Decimal No
createdAt DateTime No
userId Int No
updatedAt DateTime No



OrderDetailCreateInput

Name Type Nullable
id Int No
quantity Int No
total Decimal No
createdAt DateTime No
updatedAt DateTime No
product ProductCreateNestedOneWithoutOrderDetailInput No
order OrderCreateNestedOneWithoutOrderDetailInput No

OrderDetailUncheckedCreateInput

Name Type Nullable
id Int No
orderId String No
productId Int No
quantity Int No
total Decimal No
createdAt DateTime No
updatedAt DateTime No


OrderDetailUncheckedUpdateInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
orderId String | StringFieldUpdateOperationsInput No
productId Int | IntFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
total Decimal | DecimalFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

OrderDetailCreateManyInput

Name Type Nullable
id Int No
orderId String No
productId Int No
quantity Int No
total Decimal No
createdAt DateTime No
updatedAt DateTime No

OrderDetailUpdateManyMutationInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
total Decimal | DecimalFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

OrderDetailUncheckedUpdateManyInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
orderId String | StringFieldUpdateOperationsInput No
productId Int | IntFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
total Decimal | DecimalFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PaymentDetailCreateInput

Name Type Nullable
id Int No
createdAt DateTime No
updatedAt DateTime No
paymentMethod PaymentMethodCreateNestedManyWithoutPaymentDetailInput No
billingAddress AddressCreateNestedOneWithoutPaymentDetailInput No
order OrderCreateNestedOneWithoutPaymentDetailInput No

PaymentDetailUncheckedCreateInput

Name Type Nullable
id Int No
billingAddressId Int No
orderId String No
createdAt DateTime No
updatedAt DateTime No
paymentMethod PaymentMethodUncheckedCreateNestedManyWithoutPaymentDetailInput No


PaymentDetailUncheckedUpdateInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
billingAddressId Int | IntFieldUpdateOperationsInput No
orderId String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
paymentMethod PaymentMethodUncheckedUpdateManyWithoutPaymentDetailNestedInput No

PaymentDetailCreateManyInput

Name Type Nullable
id Int No
billingAddressId Int No
orderId String No
createdAt DateTime No
updatedAt DateTime No

PaymentDetailUpdateManyMutationInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PaymentDetailUncheckedUpdateManyInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
billingAddressId Int | IntFieldUpdateOperationsInput No
orderId String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PaymentOptionCreateInput

Name Type Nullable
id Int No
paymentType PaymentType No
createdAt DateTime No
updatedAt DateTime No
paymentMethod PaymentMethodCreateNestedManyWithoutPaymentOptionInput No

PaymentOptionUncheckedCreateInput

Name Type Nullable
id Int No
paymentType PaymentType No
createdAt DateTime No
updatedAt DateTime No
paymentMethod PaymentMethodUncheckedCreateNestedManyWithoutPaymentOptionInput No

PaymentOptionUpdateInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
paymentType PaymentType | EnumPaymentTypeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
paymentMethod PaymentMethodUpdateManyWithoutPaymentOptionNestedInput No

PaymentOptionUncheckedUpdateInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
paymentType PaymentType | EnumPaymentTypeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
paymentMethod PaymentMethodUncheckedUpdateManyWithoutPaymentOptionNestedInput No

PaymentOptionCreateManyInput

Name Type Nullable
id Int No
paymentType PaymentType No
createdAt DateTime No
updatedAt DateTime No

PaymentOptionUpdateManyMutationInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
paymentType PaymentType | EnumPaymentTypeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PaymentOptionUncheckedUpdateManyInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
paymentType PaymentType | EnumPaymentTypeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PaymentMethodCreateInput

Name Type Nullable
id Int No
cardProvider String | Null Yes
nameOnCard String | Null Yes
isDefault Boolean No
createdAt DateTime No
updatedAt DateTime No
user UserCreateNestedOneWithoutPaymentMethodInput No
paymentDetail PaymentDetailCreateNestedOneWithoutPaymentMethodInput No
paymentOption PaymentOptionCreateNestedOneWithoutPaymentMethodInput No

PaymentMethodUncheckedCreateInput

Name Type Nullable
id Int No
userId Int No
paymentDetailId Int No
paymentOptionId Int No
cardProvider String | Null Yes
nameOnCard String | Null Yes
isDefault Boolean No
createdAt DateTime No
updatedAt DateTime No


PaymentMethodUncheckedUpdateInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
userId Int | IntFieldUpdateOperationsInput No
paymentDetailId Int | IntFieldUpdateOperationsInput No
paymentOptionId Int | IntFieldUpdateOperationsInput No
cardProvider String | NullableStringFieldUpdateOperationsInput | Null Yes
nameOnCard String | NullableStringFieldUpdateOperationsInput | Null Yes
isDefault Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PaymentMethodCreateManyInput

Name Type Nullable
id Int No
userId Int No
paymentDetailId Int No
paymentOptionId Int No
cardProvider String | Null Yes
nameOnCard String | Null Yes
isDefault Boolean No
createdAt DateTime No
updatedAt DateTime No

PaymentMethodUpdateManyMutationInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
cardProvider String | NullableStringFieldUpdateOperationsInput | Null Yes
nameOnCard String | NullableStringFieldUpdateOperationsInput | Null Yes
isDefault Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PaymentMethodUncheckedUpdateManyInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
userId Int | IntFieldUpdateOperationsInput No
paymentDetailId Int | IntFieldUpdateOperationsInput No
paymentOptionId Int | IntFieldUpdateOperationsInput No
cardProvider String | NullableStringFieldUpdateOperationsInput | Null Yes
nameOnCard String | NullableStringFieldUpdateOperationsInput | Null Yes
isDefault Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ShippingDetailCreateInput

Name Type Nullable
id Int No
estimatedArrival DateTime No
createdAt DateTime No
updatedAt DateTime No
shippingAddress AddressCreateNestedOneWithoutShippingDetailInput No
shippingMethod ShippingMethodCreateNestedOneWithoutShippingDetailInput No
order OrderCreateNestedOneWithoutShippingDetailInput No

ShippingDetailUncheckedCreateInput

Name Type Nullable
id Int No
estimatedArrival DateTime No
shippingAddressId Int No
shippingMethodId Int No
orderId String No
createdAt DateTime No
updatedAt DateTime No


ShippingDetailUncheckedUpdateInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
estimatedArrival DateTime | DateTimeFieldUpdateOperationsInput No
shippingAddressId Int | IntFieldUpdateOperationsInput No
shippingMethodId Int | IntFieldUpdateOperationsInput No
orderId String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ShippingDetailCreateManyInput

Name Type Nullable
id Int No
estimatedArrival DateTime No
shippingAddressId Int No
shippingMethodId Int No
orderId String No
createdAt DateTime No
updatedAt DateTime No

ShippingDetailUpdateManyMutationInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
estimatedArrival DateTime | DateTimeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ShippingDetailUncheckedUpdateManyInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
estimatedArrival DateTime | DateTimeFieldUpdateOperationsInput No
shippingAddressId Int | IntFieldUpdateOperationsInput No
shippingMethodId Int | IntFieldUpdateOperationsInput No
orderId String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ShippingMethodCreateInput

Name Type Nullable
id Int No
name String No
price Decimal No
createdAt DateTime No
updatedAt DateTime No
shippingDetail ShippingDetailCreateNestedManyWithoutShippingMethodInput No

ShippingMethodUncheckedCreateInput

Name Type Nullable
id Int No
name String No
price Decimal No
createdAt DateTime No
updatedAt DateTime No
shippingDetail ShippingDetailUncheckedCreateNestedManyWithoutShippingMethodInput No

ShippingMethodUpdateInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
price Decimal | DecimalFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
shippingDetail ShippingDetailUpdateManyWithoutShippingMethodNestedInput No

ShippingMethodUncheckedUpdateInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
price Decimal | DecimalFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
shippingDetail ShippingDetailUncheckedUpdateManyWithoutShippingMethodNestedInput No

ShippingMethodCreateManyInput

Name Type Nullable
id Int No
name String No
price Decimal No
createdAt DateTime No
updatedAt DateTime No

ShippingMethodUpdateManyMutationInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
price Decimal | DecimalFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ShippingMethodUncheckedUpdateManyInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
price Decimal | DecimalFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

InvoiceCreateInput

Name Type Nullable
id String No

InvoiceUncheckedCreateInput

Name Type Nullable
id String No

InvoiceUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No

InvoiceUncheckedUpdateInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No

InvoiceCreateManyInput

Name Type Nullable
id String No

InvoiceUpdateManyMutationInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No

InvoiceUncheckedUpdateManyInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No

UserRoleCreateInput

Name Type Nullable
createdAt DateTime No
updatedAt DateTime No
user UserCreateNestedOneWithoutRolesInput No
role RoleCreateNestedOneWithoutUsersInput No

UserRoleUncheckedCreateInput

Name Type Nullable
id Int No
userId Int No
roleId Int No
createdAt DateTime No
updatedAt DateTime No

UserRoleUpdateInput

Name Type Nullable
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
user UserUpdateOneRequiredWithoutRolesNestedInput No
role RoleUpdateOneRequiredWithoutUsersNestedInput No

UserRoleUncheckedUpdateInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
userId Int | IntFieldUpdateOperationsInput No
roleId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserRoleCreateManyInput

Name Type Nullable
id Int No
userId Int No
roleId Int No
createdAt DateTime No
updatedAt DateTime No

UserRoleUpdateManyMutationInput

Name Type Nullable
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserRoleUncheckedUpdateManyInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
userId Int | IntFieldUpdateOperationsInput No
roleId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

RoleCreateInput

Name Type Nullable
name String No
createdAt DateTime No
updatedAt DateTime No
users UserRoleCreateNestedManyWithoutRoleInput No
permissions RolePermissionCreateNestedManyWithoutRoleInput No

RoleUncheckedCreateInput

Name Type Nullable
id Int No
name String No
createdAt DateTime No
updatedAt DateTime No
users UserRoleUncheckedCreateNestedManyWithoutRoleInput No
permissions RolePermissionUncheckedCreateNestedManyWithoutRoleInput No

RoleUpdateInput

Name Type Nullable
name String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
users UserRoleUpdateManyWithoutRoleNestedInput No
permissions RolePermissionUpdateManyWithoutRoleNestedInput No


RoleCreateManyInput

Name Type Nullable
id Int No
name String No
createdAt DateTime No
updatedAt DateTime No

RoleUpdateManyMutationInput

Name Type Nullable
name String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

RoleUncheckedUpdateManyInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

RolePermissionCreateInput

Name Type Nullable
createdAt DateTime No
updatedAt DateTime No
role RoleCreateNestedOneWithoutPermissionsInput No
permission PermissionCreateNestedOneWithoutRolesInput No

RolePermissionUncheckedCreateInput

Name Type Nullable
id Int No
roleId Int No
permissionId Int No
createdAt DateTime No
updatedAt DateTime No

RolePermissionUpdateInput

Name Type Nullable
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
role RoleUpdateOneRequiredWithoutPermissionsNestedInput No
permission PermissionUpdateOneRequiredWithoutRolesNestedInput No

RolePermissionUncheckedUpdateInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
roleId Int | IntFieldUpdateOperationsInput No
permissionId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

RolePermissionCreateManyInput

Name Type Nullable
id Int No
roleId Int No
permissionId Int No
createdAt DateTime No
updatedAt DateTime No

RolePermissionUpdateManyMutationInput

Name Type Nullable
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

RolePermissionUncheckedUpdateManyInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
roleId Int | IntFieldUpdateOperationsInput No
permissionId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PermissionCreateInput

Name Type Nullable
resource String No
accessType AccessType No
createdAt DateTime No
updatedAt DateTime No
roles RolePermissionCreateNestedManyWithoutPermissionInput No

PermissionUncheckedCreateInput

Name Type Nullable
id Int No
resource String No
accessType AccessType No
createdAt DateTime No
updatedAt DateTime No
roles RolePermissionUncheckedCreateNestedManyWithoutPermissionInput No

PermissionUpdateInput

Name Type Nullable
resource String | StringFieldUpdateOperationsInput No
accessType AccessType | EnumAccessTypeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
roles RolePermissionUpdateManyWithoutPermissionNestedInput No

PermissionUncheckedUpdateInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
resource String | StringFieldUpdateOperationsInput No
accessType AccessType | EnumAccessTypeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
roles RolePermissionUncheckedUpdateManyWithoutPermissionNestedInput No

PermissionCreateManyInput

Name Type Nullable
id Int No
resource String No
accessType AccessType No
createdAt DateTime No
updatedAt DateTime No

PermissionUpdateManyMutationInput

Name Type Nullable
resource String | StringFieldUpdateOperationsInput No
accessType AccessType | EnumAccessTypeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PermissionUncheckedUpdateManyInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
resource String | StringFieldUpdateOperationsInput No
accessType AccessType | EnumAccessTypeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

IntFilter

Name Type Nullable
equals Int | IntFieldRefInput No
in Int | ListIntFieldRefInput No
notIn Int | ListIntFieldRefInput No
lt Int | IntFieldRefInput No
lte Int | IntFieldRefInput No
gt Int | IntFieldRefInput No
gte Int | IntFieldRefInput No
not Int | NestedIntFilter No

StringFilter

Name Type Nullable
equals String | StringFieldRefInput No
in String | ListStringFieldRefInput No
notIn String | ListStringFieldRefInput No
lt String | StringFieldRefInput No
lte String | StringFieldRefInput No
gt String | StringFieldRefInput No
gte String | StringFieldRefInput No
contains String | StringFieldRefInput No
startsWith String | StringFieldRefInput No
endsWith String | StringFieldRefInput No
mode QueryMode No
not String | NestedStringFilter No

StringNullableFilter

Name Type Nullable
equals String | StringFieldRefInput | Null Yes
in String | ListStringFieldRefInput | Null Yes
notIn String | ListStringFieldRefInput | Null Yes
lt String | StringFieldRefInput No
lte String | StringFieldRefInput No
gt String | StringFieldRefInput No
gte String | StringFieldRefInput No
contains String | StringFieldRefInput No
startsWith String | StringFieldRefInput No
endsWith String | StringFieldRefInput No
mode QueryMode No
not String | NestedStringNullableFilter | Null Yes

EnumGradeNullableFilter

Name Type Nullable
equals Grade | EnumGradeFieldRefInput | Null Yes
in Grade[] | ListEnumGradeFieldRefInput | Null Yes
notIn Grade[] | ListEnumGradeFieldRefInput | Null Yes
not Grade | NestedEnumGradeNullableFilter | Null Yes


DecimalNullableFilter

Name Type Nullable
equals Decimal | DecimalFieldRefInput | Null Yes
in Decimal[] | ListDecimalFieldRefInput | Null Yes
notIn Decimal[] | ListDecimalFieldRefInput | Null Yes
lt Decimal | DecimalFieldRefInput No
lte Decimal | DecimalFieldRefInput No
gt Decimal | DecimalFieldRefInput No
gte Decimal | DecimalFieldRefInput No
not Decimal | NestedDecimalNullableFilter | Null Yes

JsonNullableFilter

Name Type Nullable
equals Json | JsonFieldRefInput | JsonNullValueFilter No
path String No
string_contains String | StringFieldRefInput No
string_starts_with String | StringFieldRefInput No
string_ends_with String | StringFieldRefInput No
array_contains Json | JsonFieldRefInput | Null Yes
array_starts_with Json | JsonFieldRefInput | Null Yes
array_ends_with Json | JsonFieldRefInput | Null Yes
lt Json | JsonFieldRefInput No
lte Json | JsonFieldRefInput No
gt Json | JsonFieldRefInput No
gte Json | JsonFieldRefInput No
not Json | JsonFieldRefInput | JsonNullValueFilter No

IntNullableFilter

Name Type Nullable
equals Int | IntFieldRefInput | Null Yes
in Int | ListIntFieldRefInput | Null Yes
notIn Int | ListIntFieldRefInput | Null Yes
lt Int | IntFieldRefInput No
lte Int | IntFieldRefInput No
gt Int | IntFieldRefInput No
gte Int | IntFieldRefInput No
not Int | NestedIntNullableFilter | Null Yes

BoolNullableFilter

Name Type Nullable
equals Boolean | BooleanFieldRefInput | Null Yes
not Boolean | NestedBoolNullableFilter | Null Yes

DateTimeFilter

Name Type Nullable
equals DateTime | DateTimeFieldRefInput No
in DateTime | ListDateTimeFieldRefInput No
notIn DateTime | ListDateTimeFieldRefInput No
lt DateTime | DateTimeFieldRefInput No
lte DateTime | DateTimeFieldRefInput No
gt DateTime | DateTimeFieldRefInput No
gte DateTime | DateTimeFieldRefInput No
not DateTime | NestedDateTimeFilter No

CategoryRelationFilter

Name Type Nullable
is CategoryWhereInput No
isNot CategoryWhereInput No

OrderDetailListRelationFilter

Name Type Nullable
every OrderDetailWhereInput No
some OrderDetailWhereInput No
none OrderDetailWhereInput No

CartItemListRelationFilter

Name Type Nullable
every CartItemWhereInput No
some CartItemWhereInput No
none CartItemWhereInput No

ProductInventoryListRelationFilter

Name Type Nullable
every ProductInventoryWhereInput No
some ProductInventoryWhereInput No
none ProductInventoryWhereInput No

ProductImageListRelationFilter

Name Type Nullable
every ProductImageWhereInput No
some ProductImageWhereInput No
none ProductImageWhereInput No

UserReviewListRelationFilter

Name Type Nullable
every UserReviewWhereInput No
some UserReviewWhereInput No
none UserReviewWhereInput No

SortOrderInput

Name Type Nullable
sort SortOrder No
nulls NullsOrder No

OrderDetailOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

CartItemOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

ProductInventoryOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

ProductImageOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

UserReviewOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

ProductCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
productName SortOrder No
productDesc SortOrder No
shortDesc SortOrder No
grade SortOrder No
sku SortOrder No
price SortOrder No
msrp SortOrder No
size SortOrder No
weight SortOrder No
weightUnit SortOrder No
features SortOrder No
quantity SortOrder No
soldQuantity SortOrder No
isActive SortOrder No
isAvailable SortOrder No
slug SortOrder No
imageUrl SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
categoryId SortOrder No

ProductAvgOrderByAggregateInput

Name Type Nullable
id SortOrder No
price SortOrder No
msrp SortOrder No
weight SortOrder No
quantity SortOrder No
soldQuantity SortOrder No
categoryId SortOrder No

ProductMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
productName SortOrder No
productDesc SortOrder No
shortDesc SortOrder No
grade SortOrder No
sku SortOrder No
price SortOrder No
msrp SortOrder No
size SortOrder No
weight SortOrder No
weightUnit SortOrder No
quantity SortOrder No
soldQuantity SortOrder No
isActive SortOrder No
isAvailable SortOrder No
slug SortOrder No
imageUrl SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
categoryId SortOrder No

ProductMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
productName SortOrder No
productDesc SortOrder No
shortDesc SortOrder No
grade SortOrder No
sku SortOrder No
price SortOrder No
msrp SortOrder No
size SortOrder No
weight SortOrder No
weightUnit SortOrder No
quantity SortOrder No
soldQuantity SortOrder No
isActive SortOrder No
isAvailable SortOrder No
slug SortOrder No
imageUrl SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
categoryId SortOrder No

ProductSumOrderByAggregateInput

Name Type Nullable
id SortOrder No
price SortOrder No
msrp SortOrder No
weight SortOrder No
quantity SortOrder No
soldQuantity SortOrder No
categoryId SortOrder No

IntWithAggregatesFilter

Name Type Nullable
equals Int | IntFieldRefInput No
in Int | ListIntFieldRefInput No
notIn Int | ListIntFieldRefInput No
lt Int | IntFieldRefInput No
lte Int | IntFieldRefInput No
gt Int | IntFieldRefInput No
gte Int | IntFieldRefInput No
not Int | NestedIntWithAggregatesFilter No
_count NestedIntFilter No
_avg NestedFloatFilter No
_sum NestedIntFilter No
_min NestedIntFilter No
_max NestedIntFilter No

StringWithAggregatesFilter

Name Type Nullable
equals String | StringFieldRefInput No
in String | ListStringFieldRefInput No
notIn String | ListStringFieldRefInput No
lt String | StringFieldRefInput No
lte String | StringFieldRefInput No
gt String | StringFieldRefInput No
gte String | StringFieldRefInput No
contains String | StringFieldRefInput No
startsWith String | StringFieldRefInput No
endsWith String | StringFieldRefInput No
mode QueryMode No
not String | NestedStringWithAggregatesFilter No
_count NestedIntFilter No
_min NestedStringFilter No
_max NestedStringFilter No

StringNullableWithAggregatesFilter

Name Type Nullable
equals String | StringFieldRefInput | Null Yes
in String | ListStringFieldRefInput | Null Yes
notIn String | ListStringFieldRefInput | Null Yes
lt String | StringFieldRefInput No
lte String | StringFieldRefInput No
gt String | StringFieldRefInput No
gte String | StringFieldRefInput No
contains String | StringFieldRefInput No
startsWith String | StringFieldRefInput No
endsWith String | StringFieldRefInput No
mode QueryMode No
not String | NestedStringNullableWithAggregatesFilter | Null Yes
_count NestedIntNullableFilter No
_min NestedStringNullableFilter No
_max NestedStringNullableFilter No

EnumGradeNullableWithAggregatesFilter

Name Type Nullable
equals Grade | EnumGradeFieldRefInput | Null Yes
in Grade[] | ListEnumGradeFieldRefInput | Null Yes
notIn Grade[] | ListEnumGradeFieldRefInput | Null Yes
not Grade | NestedEnumGradeNullableWithAggregatesFilter | Null Yes
_count NestedIntNullableFilter No
_min NestedEnumGradeNullableFilter No
_max NestedEnumGradeNullableFilter No



JsonNullableWithAggregatesFilter

Name Type Nullable
equals Json | JsonFieldRefInput | JsonNullValueFilter No
path String No
string_contains String | StringFieldRefInput No
string_starts_with String | StringFieldRefInput No
string_ends_with String | StringFieldRefInput No
array_contains Json | JsonFieldRefInput | Null Yes
array_starts_with Json | JsonFieldRefInput | Null Yes
array_ends_with Json | JsonFieldRefInput | Null Yes
lt Json | JsonFieldRefInput No
lte Json | JsonFieldRefInput No
gt Json | JsonFieldRefInput No
gte Json | JsonFieldRefInput No
not Json | JsonFieldRefInput | JsonNullValueFilter No
_count NestedIntNullableFilter No
_min NestedJsonNullableFilter No
_max NestedJsonNullableFilter No

IntNullableWithAggregatesFilter

Name Type Nullable
equals Int | IntFieldRefInput | Null Yes
in Int | ListIntFieldRefInput | Null Yes
notIn Int | ListIntFieldRefInput | Null Yes
lt Int | IntFieldRefInput No
lte Int | IntFieldRefInput No
gt Int | IntFieldRefInput No
gte Int | IntFieldRefInput No
not Int | NestedIntNullableWithAggregatesFilter | Null Yes
_count NestedIntNullableFilter No
_avg NestedFloatNullableFilter No
_sum NestedIntNullableFilter No
_min NestedIntNullableFilter No
_max NestedIntNullableFilter No

BoolNullableWithAggregatesFilter

Name Type Nullable
equals Boolean | BooleanFieldRefInput | Null Yes
not Boolean | NestedBoolNullableWithAggregatesFilter | Null Yes
_count NestedIntNullableFilter No
_min NestedBoolNullableFilter No
_max NestedBoolNullableFilter No

DateTimeWithAggregatesFilter

Name Type Nullable
equals DateTime | DateTimeFieldRefInput No
in DateTime | ListDateTimeFieldRefInput No
notIn DateTime | ListDateTimeFieldRefInput No
lt DateTime | DateTimeFieldRefInput No
lte DateTime | DateTimeFieldRefInput No
gt DateTime | DateTimeFieldRefInput No
gte DateTime | DateTimeFieldRefInput No
not DateTime | NestedDateTimeWithAggregatesFilter No
_count NestedIntFilter No
_min NestedDateTimeFilter No
_max NestedDateTimeFilter No

CategoryNullableRelationFilter

Name Type Nullable
is CategoryWhereInput | Null Yes
isNot CategoryWhereInput | Null Yes

CategoryListRelationFilter

Name Type Nullable
every CategoryWhereInput No
some CategoryWhereInput No
none CategoryWhereInput No

ProductListRelationFilter

Name Type Nullable
every ProductWhereInput No
some ProductWhereInput No
none ProductWhereInput No

PromotionCategoryListRelationFilter

Name Type Nullable
every PromotionCategoryWhereInput No
some PromotionCategoryWhereInput No
none PromotionCategoryWhereInput No

CategoryOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

ProductOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

PromotionCategoryOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

CategoryCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
categoryName SortOrder No
categoryDesc SortOrder No
slug SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
parentCategoryId SortOrder No

CategoryAvgOrderByAggregateInput

Name Type Nullable
id SortOrder No
parentCategoryId SortOrder No

CategoryMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
categoryName SortOrder No
categoryDesc SortOrder No
slug SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
parentCategoryId SortOrder No

CategoryMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
categoryName SortOrder No
categoryDesc SortOrder No
slug SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
parentCategoryId SortOrder No

CategorySumOrderByAggregateInput

Name Type Nullable
id SortOrder No
parentCategoryId SortOrder No


ProductRelationFilter

Name Type Nullable
is ProductWhereInput No
isNot ProductWhereInput No

ProductInventoryCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
quantity SortOrder No
reStockLevel SortOrder No
status SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
productId SortOrder No

ProductInventoryAvgOrderByAggregateInput

Name Type Nullable
id SortOrder No
quantity SortOrder No
reStockLevel SortOrder No
productId SortOrder No

ProductInventoryMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
quantity SortOrder No
reStockLevel SortOrder No
status SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
productId SortOrder No

ProductInventoryMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
quantity SortOrder No
reStockLevel SortOrder No
status SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
productId SortOrder No

ProductInventorySumOrderByAggregateInput

Name Type Nullable
id SortOrder No
quantity SortOrder No
reStockLevel SortOrder No
productId SortOrder No


ProductImageCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
imageUrl SortOrder No
productId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

ProductImageAvgOrderByAggregateInput

Name Type Nullable
id SortOrder No
productId SortOrder No

ProductImageMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
imageUrl SortOrder No
productId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

ProductImageMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
imageUrl SortOrder No
productId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

ProductImageSumOrderByAggregateInput

Name Type Nullable
id SortOrder No
productId SortOrder No

AuthenticationTokenNullableRelationFilter

Name Type Nullable
is AuthenticationTokenWhereInput | Null Yes
isNot AuthenticationTokenWhereInput | Null Yes

UserProfileNullableRelationFilter

Name Type Nullable
is UserProfileWhereInput | Null Yes
isNot UserProfileWhereInput | Null Yes

CartNullableRelationFilter

Name Type Nullable
is CartWhereInput | Null Yes
isNot CartWhereInput | Null Yes

LoginNullableRelationFilter

Name Type Nullable
is LoginWhereInput | Null Yes
isNot LoginWhereInput | Null Yes

UserRoleListRelationFilter

Name Type Nullable
every UserRoleWhereInput No
some UserRoleWhereInput No
none UserRoleWhereInput No

PaymentMethodListRelationFilter

Name Type Nullable
every PaymentMethodWhereInput No
some PaymentMethodWhereInput No
none PaymentMethodWhereInput No

OrderListRelationFilter

Name Type Nullable
every OrderWhereInput No
some OrderWhereInput No
none OrderWhereInput No

UserRoleOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

PaymentMethodOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

OrderOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

UserCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
email SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
preference SortOrder No
balance SortOrder No

UserAvgOrderByAggregateInput

Name Type Nullable
id SortOrder No
balance SortOrder No

UserMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
email SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
balance SortOrder No

UserMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
email SortOrder No
createdAt SortOrder No
updatedAt SortOrder No
balance SortOrder No

UserSumOrderByAggregateInput

Name Type Nullable
id SortOrder No
balance SortOrder No

DateTimeNullableFilter

Name Type Nullable
equals DateTime | DateTimeFieldRefInput | Null Yes
in DateTime | ListDateTimeFieldRefInput | Null Yes
notIn DateTime | ListDateTimeFieldRefInput | Null Yes
lt DateTime | DateTimeFieldRefInput No
lte DateTime | DateTimeFieldRefInput No
gt DateTime | DateTimeFieldRefInput No
gte DateTime | DateTimeFieldRefInput No
not DateTime | NestedDateTimeNullableFilter | Null Yes

UserRelationFilter

Name Type Nullable
is UserWhereInput No
isNot UserWhereInput No

LoginCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
username SortOrder No
password SortOrder No
failedAttempts SortOrder No
lockoutTime SortOrder No
lastLogin SortOrder No
userId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

LoginAvgOrderByAggregateInput

Name Type Nullable
failedAttempts SortOrder No
userId SortOrder No

LoginMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
username SortOrder No
password SortOrder No
failedAttempts SortOrder No
lockoutTime SortOrder No
lastLogin SortOrder No
userId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

LoginMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
username SortOrder No
password SortOrder No
failedAttempts SortOrder No
lockoutTime SortOrder No
lastLogin SortOrder No
userId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

LoginSumOrderByAggregateInput

Name Type Nullable
failedAttempts SortOrder No
userId SortOrder No

DateTimeNullableWithAggregatesFilter

Name Type Nullable
equals DateTime | DateTimeFieldRefInput | Null Yes
in DateTime | ListDateTimeFieldRefInput | Null Yes
notIn DateTime | ListDateTimeFieldRefInput | Null Yes
lt DateTime | DateTimeFieldRefInput No
lte DateTime | DateTimeFieldRefInput No
gt DateTime | DateTimeFieldRefInput No
gte DateTime | DateTimeFieldRefInput No
not DateTime | NestedDateTimeNullableWithAggregatesFilter | Null Yes
_count NestedIntNullableFilter No
_min NestedDateTimeNullableFilter No
_max NestedDateTimeNullableFilter No

AuthenticationTokenCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
token SortOrder No
expiry SortOrder No
userId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

AuthenticationTokenAvgOrderByAggregateInput

Name Type Nullable
id SortOrder No
userId SortOrder No

AuthenticationTokenMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
token SortOrder No
expiry SortOrder No
userId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

AuthenticationTokenMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
token SortOrder No
expiry SortOrder No
userId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

AuthenticationTokenSumOrderByAggregateInput

Name Type Nullable
id SortOrder No
userId SortOrder No

EnumGenderNullableFilter

Name Type Nullable
equals Gender | EnumGenderFieldRefInput | Null Yes
in Gender[] | ListEnumGenderFieldRefInput | Null Yes
notIn Gender[] | ListEnumGenderFieldRefInput | Null Yes
not Gender | NestedEnumGenderNullableFilter | Null Yes

UserAddressListRelationFilter

Name Type Nullable
every UserAddressWhereInput No
some UserAddressWhereInput No
none UserAddressWhereInput No

SocialLinkListRelationFilter

Name Type Nullable
every SocialLinkWhereInput No
some SocialLinkWhereInput No
none SocialLinkWhereInput No

UserAddressOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

SocialLinkOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

UserProfileCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
firstName SortOrder No
lastName SortOrder No
phone SortOrder No
birthDate SortOrder No
gender SortOrder No
photo SortOrder No
bio SortOrder No
userId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

UserProfileAvgOrderByAggregateInput

Name Type Nullable
id SortOrder No
userId SortOrder No

UserProfileMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
firstName SortOrder No
lastName SortOrder No
phone SortOrder No
birthDate SortOrder No
gender SortOrder No
photo SortOrder No
bio SortOrder No
userId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

UserProfileMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
firstName SortOrder No
lastName SortOrder No
phone SortOrder No
birthDate SortOrder No
gender SortOrder No
photo SortOrder No
bio SortOrder No
userId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

UserProfileSumOrderByAggregateInput

Name Type Nullable
id SortOrder No
userId SortOrder No

EnumGenderNullableWithAggregatesFilter

Name Type Nullable
equals Gender | EnumGenderFieldRefInput | Null Yes
in Gender[] | ListEnumGenderFieldRefInput | Null Yes
notIn Gender[] | ListEnumGenderFieldRefInput | Null Yes
not Gender | NestedEnumGenderNullableWithAggregatesFilter | Null Yes
_count NestedIntNullableFilter No
_min NestedEnumGenderNullableFilter No
_max NestedEnumGenderNullableFilter No

BoolFilter

Name Type Nullable
equals Boolean | BooleanFieldRefInput No
not Boolean | NestedBoolFilter No

UserProfileRelationFilter

Name Type Nullable
is UserProfileWhereInput No
isNot UserProfileWhereInput No

AddressRelationFilter

Name Type Nullable
is AddressWhereInput No
isNot AddressWhereInput No

UserAddressUserProfileIdAddressIdIdCompoundUniqueInput

Name Type Nullable
userProfileId Int No
addressId Int No
id Int No

UserAddressCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
userProfileId SortOrder No
addressId SortOrder No
isDefault SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

UserAddressAvgOrderByAggregateInput

Name Type Nullable
id SortOrder No
userProfileId SortOrder No
addressId SortOrder No

UserAddressMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
userProfileId SortOrder No
addressId SortOrder No
isDefault SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

UserAddressMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
userProfileId SortOrder No
addressId SortOrder No
isDefault SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

UserAddressSumOrderByAggregateInput

Name Type Nullable
id SortOrder No
userProfileId SortOrder No
addressId SortOrder No

BoolWithAggregatesFilter

Name Type Nullable
equals Boolean | BooleanFieldRefInput No
not Boolean | NestedBoolWithAggregatesFilter No
_count NestedIntFilter No
_min NestedBoolFilter No
_max NestedBoolFilter No

PaymentDetailListRelationFilter

Name Type Nullable
every PaymentDetailWhereInput No
some PaymentDetailWhereInput No
none PaymentDetailWhereInput No

ShippingDetailListRelationFilter

Name Type Nullable
every ShippingDetailWhereInput No
some ShippingDetailWhereInput No
none ShippingDetailWhereInput No

PaymentDetailOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

ShippingDetailOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

AddressCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
street SortOrder No
unit SortOrder No
city SortOrder No
zipcode SortOrder No
state SortOrder No
country SortOrder No
planet SortOrder No
solarSystem SortOrder No
galaxy SortOrder No
localGroup SortOrder No
localCluster SortOrder No
universe SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

AddressAvgOrderByAggregateInput

Name Type Nullable
id SortOrder No

AddressMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
street SortOrder No
unit SortOrder No
city SortOrder No
zipcode SortOrder No
state SortOrder No
country SortOrder No
planet SortOrder No
solarSystem SortOrder No
galaxy SortOrder No
localGroup SortOrder No
localCluster SortOrder No
universe SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

AddressMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
street SortOrder No
unit SortOrder No
city SortOrder No
zipcode SortOrder No
state SortOrder No
country SortOrder No
planet SortOrder No
solarSystem SortOrder No
galaxy SortOrder No
localGroup SortOrder No
localCluster SortOrder No
universe SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

AddressSumOrderByAggregateInput

Name Type Nullable
id SortOrder No

SocialLinkCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
userProfileId SortOrder No
socialProvider SortOrder No
socialUrl SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

SocialLinkAvgOrderByAggregateInput

Name Type Nullable
id SortOrder No
userProfileId SortOrder No

SocialLinkMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
userProfileId SortOrder No
socialProvider SortOrder No
socialUrl SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

SocialLinkMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
userProfileId SortOrder No
socialProvider SortOrder No
socialUrl SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

SocialLinkSumOrderByAggregateInput

Name Type Nullable
id SortOrder No
userProfileId SortOrder No

UserReviewCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
title SortOrder No
message SortOrder No
rating SortOrder No
authorId SortOrder No
productId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

UserReviewAvgOrderByAggregateInput

Name Type Nullable
id SortOrder No
rating SortOrder No
authorId SortOrder No
productId SortOrder No

UserReviewMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
title SortOrder No
message SortOrder No
rating SortOrder No
authorId SortOrder No
productId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

UserReviewMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
title SortOrder No
message SortOrder No
rating SortOrder No
authorId SortOrder No
productId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

UserReviewSumOrderByAggregateInput

Name Type Nullable
id SortOrder No
rating SortOrder No
authorId SortOrder No
productId SortOrder No

PromotionRelationFilter

Name Type Nullable
is PromotionWhereInput No
isNot PromotionWhereInput No

PromotionCategoryCategoryIdPromotionIdCompoundUniqueInput

Name Type Nullable
categoryId Int No
promotionId Int No

PromotionCategoryCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
categoryId SortOrder No
promotionId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

PromotionCategoryAvgOrderByAggregateInput

Name Type Nullable
id SortOrder No
categoryId SortOrder No
promotionId SortOrder No

PromotionCategoryMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
categoryId SortOrder No
promotionId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

PromotionCategoryMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
categoryId SortOrder No
promotionId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

PromotionCategorySumOrderByAggregateInput

Name Type Nullable
id SortOrder No
categoryId SortOrder No
promotionId SortOrder No

CartItemNullableRelationFilter

Name Type Nullable
is CartItemWhereInput | Null Yes
isNot CartItemWhereInput | Null Yes

PromotionCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
promotionName SortOrder No
promotionDesc SortOrder No
promotionRate SortOrder No
isActive SortOrder No
startDate SortOrder No
endDate SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

PromotionAvgOrderByAggregateInput

Name Type Nullable
id SortOrder No
promotionRate SortOrder No

PromotionMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
promotionName SortOrder No
promotionDesc SortOrder No
promotionRate SortOrder No
isActive SortOrder No
startDate SortOrder No
endDate SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

PromotionMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
promotionName SortOrder No
promotionDesc SortOrder No
promotionRate SortOrder No
isActive SortOrder No
startDate SortOrder No
endDate SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

PromotionSumOrderByAggregateInput

Name Type Nullable
id SortOrder No
promotionRate SortOrder No

CartRelationFilter

Name Type Nullable
is CartWhereInput No
isNot CartWhereInput No

PromotionNullableRelationFilter

Name Type Nullable
is PromotionWhereInput | Null Yes
isNot PromotionWhereInput | Null Yes

CartItemCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
cartId SortOrder No
productId SortOrder No
quantity SortOrder No
promotionId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

CartItemAvgOrderByAggregateInput

Name Type Nullable
id SortOrder No
cartId SortOrder No
productId SortOrder No
quantity SortOrder No
promotionId SortOrder No

CartItemMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
cartId SortOrder No
productId SortOrder No
quantity SortOrder No
promotionId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

CartItemMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
cartId SortOrder No
productId SortOrder No
quantity SortOrder No
promotionId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

CartItemSumOrderByAggregateInput

Name Type Nullable
id SortOrder No
cartId SortOrder No
productId SortOrder No
quantity SortOrder No
promotionId SortOrder No

CartCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
userId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

CartAvgOrderByAggregateInput

Name Type Nullable
id SortOrder No
userId SortOrder No

CartMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
userId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

CartMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
userId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

CartSumOrderByAggregateInput

Name Type Nullable
id SortOrder No
userId SortOrder No


ShippingDetailNullableRelationFilter

Name Type Nullable
is ShippingDetailWhereInput | Null Yes
isNot ShippingDetailWhereInput | Null Yes

PaymentDetailNullableRelationFilter

Name Type Nullable
is PaymentDetailWhereInput | Null Yes
isNot PaymentDetailWhereInput | Null Yes

OrderCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
status SortOrder No
tax SortOrder No
total SortOrder No
createdAt SortOrder No
userId SortOrder No
updatedAt SortOrder No

OrderAvgOrderByAggregateInput

Name Type Nullable
tax SortOrder No
total SortOrder No
userId SortOrder No

OrderMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
status SortOrder No
tax SortOrder No
total SortOrder No
createdAt SortOrder No
userId SortOrder No
updatedAt SortOrder No

OrderMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
status SortOrder No
tax SortOrder No
total SortOrder No
createdAt SortOrder No
userId SortOrder No
updatedAt SortOrder No

OrderSumOrderByAggregateInput

Name Type Nullable
tax SortOrder No
total SortOrder No
userId SortOrder No


OrderRelationFilter

Name Type Nullable
is OrderWhereInput No
isNot OrderWhereInput No

OrderDetailCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
orderId SortOrder No
productId SortOrder No
quantity SortOrder No
total SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

OrderDetailAvgOrderByAggregateInput

Name Type Nullable
id SortOrder No
productId SortOrder No
quantity SortOrder No
total SortOrder No

OrderDetailMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
orderId SortOrder No
productId SortOrder No
quantity SortOrder No
total SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

OrderDetailMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
orderId SortOrder No
productId SortOrder No
quantity SortOrder No
total SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

OrderDetailSumOrderByAggregateInput

Name Type Nullable
id SortOrder No
productId SortOrder No
quantity SortOrder No
total SortOrder No

PaymentDetailCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
billingAddressId SortOrder No
orderId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

PaymentDetailAvgOrderByAggregateInput

Name Type Nullable
id SortOrder No
billingAddressId SortOrder No

PaymentDetailMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
billingAddressId SortOrder No
orderId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

PaymentDetailMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
billingAddressId SortOrder No
orderId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

PaymentDetailSumOrderByAggregateInput

Name Type Nullable
id SortOrder No
billingAddressId SortOrder No


PaymentOptionCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
paymentType SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

PaymentOptionAvgOrderByAggregateInput

Name Type Nullable
id SortOrder No

PaymentOptionMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
paymentType SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

PaymentOptionMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
paymentType SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

PaymentOptionSumOrderByAggregateInput

Name Type Nullable
id SortOrder No


PaymentDetailRelationFilter

Name Type Nullable
is PaymentDetailWhereInput No
isNot PaymentDetailWhereInput No

PaymentOptionRelationFilter

Name Type Nullable
is PaymentOptionWhereInput No
isNot PaymentOptionWhereInput No

PaymentMethodCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
userId SortOrder No
paymentDetailId SortOrder No
paymentOptionId SortOrder No
cardProvider SortOrder No
nameOnCard SortOrder No
isDefault SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

PaymentMethodAvgOrderByAggregateInput

Name Type Nullable
id SortOrder No
userId SortOrder No
paymentDetailId SortOrder No
paymentOptionId SortOrder No

PaymentMethodMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
userId SortOrder No
paymentDetailId SortOrder No
paymentOptionId SortOrder No
cardProvider SortOrder No
nameOnCard SortOrder No
isDefault SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

PaymentMethodMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
userId SortOrder No
paymentDetailId SortOrder No
paymentOptionId SortOrder No
cardProvider SortOrder No
nameOnCard SortOrder No
isDefault SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

PaymentMethodSumOrderByAggregateInput

Name Type Nullable
id SortOrder No
userId SortOrder No
paymentDetailId SortOrder No
paymentOptionId SortOrder No

ShippingMethodRelationFilter

Name Type Nullable
is ShippingMethodWhereInput No
isNot ShippingMethodWhereInput No

ShippingDetailCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
estimatedArrival SortOrder No
shippingAddressId SortOrder No
shippingMethodId SortOrder No
orderId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

ShippingDetailAvgOrderByAggregateInput

Name Type Nullable
id SortOrder No
shippingAddressId SortOrder No
shippingMethodId SortOrder No

ShippingDetailMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
estimatedArrival SortOrder No
shippingAddressId SortOrder No
shippingMethodId SortOrder No
orderId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

ShippingDetailMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
estimatedArrival SortOrder No
shippingAddressId SortOrder No
shippingMethodId SortOrder No
orderId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

ShippingDetailSumOrderByAggregateInput

Name Type Nullable
id SortOrder No
shippingAddressId SortOrder No
shippingMethodId SortOrder No

ShippingMethodCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
name SortOrder No
price SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

ShippingMethodAvgOrderByAggregateInput

Name Type Nullable
id SortOrder No
price SortOrder No

ShippingMethodMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
name SortOrder No
price SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

ShippingMethodMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
name SortOrder No
price SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

ShippingMethodSumOrderByAggregateInput

Name Type Nullable
id SortOrder No
price SortOrder No

InvoiceCountOrderByAggregateInput

Name Type Nullable
id SortOrder No

InvoiceMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No

InvoiceMinOrderByAggregateInput

Name Type Nullable
id SortOrder No

RoleRelationFilter

Name Type Nullable
is RoleWhereInput No
isNot RoleWhereInput No

UserRoleUserIdRoleIdCompoundUniqueInput

Name Type Nullable
userId Int No
roleId Int No

UserRoleCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
userId SortOrder No
roleId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

UserRoleAvgOrderByAggregateInput

Name Type Nullable
id SortOrder No
userId SortOrder No
roleId SortOrder No

UserRoleMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
userId SortOrder No
roleId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

UserRoleMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
userId SortOrder No
roleId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

UserRoleSumOrderByAggregateInput

Name Type Nullable
id SortOrder No
userId SortOrder No
roleId SortOrder No

RolePermissionListRelationFilter

Name Type Nullable
every RolePermissionWhereInput No
some RolePermissionWhereInput No
none RolePermissionWhereInput No

RolePermissionOrderByRelationAggregateInput

Name Type Nullable
_count SortOrder No

RoleCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
name SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

RoleAvgOrderByAggregateInput

Name Type Nullable
id SortOrder No

RoleMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
name SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

RoleMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
name SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

RoleSumOrderByAggregateInput

Name Type Nullable
id SortOrder No

PermissionRelationFilter

Name Type Nullable
is PermissionWhereInput No
isNot PermissionWhereInput No

RolePermissionRoleIdPermissionIdCompoundUniqueInput

Name Type Nullable
roleId Int No
permissionId Int No

RolePermissionCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
roleId SortOrder No
permissionId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

RolePermissionAvgOrderByAggregateInput

Name Type Nullable
id SortOrder No
roleId SortOrder No
permissionId SortOrder No

RolePermissionMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
roleId SortOrder No
permissionId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

RolePermissionMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
roleId SortOrder No
permissionId SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

RolePermissionSumOrderByAggregateInput

Name Type Nullable
id SortOrder No
roleId SortOrder No
permissionId SortOrder No


PermissionCountOrderByAggregateInput

Name Type Nullable
id SortOrder No
resource SortOrder No
accessType SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

PermissionAvgOrderByAggregateInput

Name Type Nullable
id SortOrder No

PermissionMaxOrderByAggregateInput

Name Type Nullable
id SortOrder No
resource SortOrder No
accessType SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

PermissionMinOrderByAggregateInput

Name Type Nullable
id SortOrder No
resource SortOrder No
accessType SortOrder No
createdAt SortOrder No
updatedAt SortOrder No

PermissionSumOrderByAggregateInput

Name Type Nullable
id SortOrder No


CategoryCreateNestedOneWithoutProductInput

Name Type Nullable
create CategoryCreateWithoutProductInput | CategoryUncheckedCreateWithoutProductInput No
connectOrCreate CategoryCreateOrConnectWithoutProductInput No
connect CategoryWhereUniqueInput No











StringFieldUpdateOperationsInput

Name Type Nullable
set String No

NullableStringFieldUpdateOperationsInput

Name Type Nullable
set String | Null Yes

NullableEnumGradeFieldUpdateOperationsInput

Name Type Nullable
set Grade | Null Yes

DecimalFieldUpdateOperationsInput

Name Type Nullable
set Decimal No
increment Decimal No
decrement Decimal No
multiply Decimal No
divide Decimal No

NullableDecimalFieldUpdateOperationsInput

Name Type Nullable
set Decimal | Null Yes
increment Decimal No
decrement Decimal No
multiply Decimal No
divide Decimal No

NullableIntFieldUpdateOperationsInput

Name Type Nullable
set Int | Null Yes
increment Int No
decrement Int No
multiply Int No
divide Int No

NullableBoolFieldUpdateOperationsInput

Name Type Nullable
set Boolean | Null Yes

DateTimeFieldUpdateOperationsInput

Name Type Nullable
set DateTime No


OrderDetailUpdateManyWithoutProductNestedInput

Name Type Nullable
create OrderDetailCreateWithoutProductInput | OrderDetailCreateWithoutProductInput[] | OrderDetailUncheckedCreateWithoutProductInput | OrderDetailUncheckedCreateWithoutProductInput[] No
connectOrCreate OrderDetailCreateOrConnectWithoutProductInput | OrderDetailCreateOrConnectWithoutProductInput[] No
upsert OrderDetailUpsertWithWhereUniqueWithoutProductInput | OrderDetailUpsertWithWhereUniqueWithoutProductInput[] No
createMany OrderDetailCreateManyProductInputEnvelope No
set OrderDetailWhereUniqueInput | OrderDetailWhereUniqueInput[] No
disconnect OrderDetailWhereUniqueInput | OrderDetailWhereUniqueInput[] No
delete OrderDetailWhereUniqueInput | OrderDetailWhereUniqueInput[] No
connect OrderDetailWhereUniqueInput | OrderDetailWhereUniqueInput[] No
update OrderDetailUpdateWithWhereUniqueWithoutProductInput | OrderDetailUpdateWithWhereUniqueWithoutProductInput[] No
updateMany OrderDetailUpdateManyWithWhereWithoutProductInput | OrderDetailUpdateManyWithWhereWithoutProductInput[] No
deleteMany OrderDetailScalarWhereInput | OrderDetailScalarWhereInput[] No

CartItemUpdateManyWithoutProductNestedInput

Name Type Nullable
create CartItemCreateWithoutProductInput | CartItemCreateWithoutProductInput[] | CartItemUncheckedCreateWithoutProductInput | CartItemUncheckedCreateWithoutProductInput[] No
connectOrCreate CartItemCreateOrConnectWithoutProductInput | CartItemCreateOrConnectWithoutProductInput[] No
upsert CartItemUpsertWithWhereUniqueWithoutProductInput | CartItemUpsertWithWhereUniqueWithoutProductInput[] No
createMany CartItemCreateManyProductInputEnvelope No
set CartItemWhereUniqueInput | CartItemWhereUniqueInput[] No
disconnect CartItemWhereUniqueInput | CartItemWhereUniqueInput[] No
delete CartItemWhereUniqueInput | CartItemWhereUniqueInput[] No
connect CartItemWhereUniqueInput | CartItemWhereUniqueInput[] No
update CartItemUpdateWithWhereUniqueWithoutProductInput | CartItemUpdateWithWhereUniqueWithoutProductInput[] No
updateMany CartItemUpdateManyWithWhereWithoutProductInput | CartItemUpdateManyWithWhereWithoutProductInput[] No
deleteMany CartItemScalarWhereInput | CartItemScalarWhereInput[] No

ProductInventoryUpdateManyWithoutProductNestedInput

Name Type Nullable
create ProductInventoryCreateWithoutProductInput | ProductInventoryCreateWithoutProductInput[] | ProductInventoryUncheckedCreateWithoutProductInput | ProductInventoryUncheckedCreateWithoutProductInput[] No
connectOrCreate ProductInventoryCreateOrConnectWithoutProductInput | ProductInventoryCreateOrConnectWithoutProductInput[] No
upsert ProductInventoryUpsertWithWhereUniqueWithoutProductInput | ProductInventoryUpsertWithWhereUniqueWithoutProductInput[] No
createMany ProductInventoryCreateManyProductInputEnvelope No
set ProductInventoryWhereUniqueInput | ProductInventoryWhereUniqueInput[] No
disconnect ProductInventoryWhereUniqueInput | ProductInventoryWhereUniqueInput[] No
delete ProductInventoryWhereUniqueInput | ProductInventoryWhereUniqueInput[] No
connect ProductInventoryWhereUniqueInput | ProductInventoryWhereUniqueInput[] No
update ProductInventoryUpdateWithWhereUniqueWithoutProductInput | ProductInventoryUpdateWithWhereUniqueWithoutProductInput[] No
updateMany ProductInventoryUpdateManyWithWhereWithoutProductInput | ProductInventoryUpdateManyWithWhereWithoutProductInput[] No
deleteMany ProductInventoryScalarWhereInput | ProductInventoryScalarWhereInput[] No

ProductImageUpdateManyWithoutProductNestedInput

Name Type Nullable
create ProductImageCreateWithoutProductInput | ProductImageCreateWithoutProductInput[] | ProductImageUncheckedCreateWithoutProductInput | ProductImageUncheckedCreateWithoutProductInput[] No
connectOrCreate ProductImageCreateOrConnectWithoutProductInput | ProductImageCreateOrConnectWithoutProductInput[] No
upsert ProductImageUpsertWithWhereUniqueWithoutProductInput | ProductImageUpsertWithWhereUniqueWithoutProductInput[] No
createMany ProductImageCreateManyProductInputEnvelope No
set ProductImageWhereUniqueInput | ProductImageWhereUniqueInput[] No
disconnect ProductImageWhereUniqueInput | ProductImageWhereUniqueInput[] No
delete ProductImageWhereUniqueInput | ProductImageWhereUniqueInput[] No
connect ProductImageWhereUniqueInput | ProductImageWhereUniqueInput[] No
update ProductImageUpdateWithWhereUniqueWithoutProductInput | ProductImageUpdateWithWhereUniqueWithoutProductInput[] No
updateMany ProductImageUpdateManyWithWhereWithoutProductInput | ProductImageUpdateManyWithWhereWithoutProductInput[] No
deleteMany ProductImageScalarWhereInput | ProductImageScalarWhereInput[] No

UserReviewUpdateManyWithoutProductNestedInput

Name Type Nullable
create UserReviewCreateWithoutProductInput | UserReviewCreateWithoutProductInput[] | UserReviewUncheckedCreateWithoutProductInput | UserReviewUncheckedCreateWithoutProductInput[] No
connectOrCreate UserReviewCreateOrConnectWithoutProductInput | UserReviewCreateOrConnectWithoutProductInput[] No
upsert UserReviewUpsertWithWhereUniqueWithoutProductInput | UserReviewUpsertWithWhereUniqueWithoutProductInput[] No
createMany UserReviewCreateManyProductInputEnvelope No
set UserReviewWhereUniqueInput | UserReviewWhereUniqueInput[] No
disconnect UserReviewWhereUniqueInput | UserReviewWhereUniqueInput[] No
delete UserReviewWhereUniqueInput | UserReviewWhereUniqueInput[] No
connect UserReviewWhereUniqueInput | UserReviewWhereUniqueInput[] No
update UserReviewUpdateWithWhereUniqueWithoutProductInput | UserReviewUpdateWithWhereUniqueWithoutProductInput[] No
updateMany UserReviewUpdateManyWithWhereWithoutProductInput | UserReviewUpdateManyWithWhereWithoutProductInput[] No
deleteMany UserReviewScalarWhereInput | UserReviewScalarWhereInput[] No

IntFieldUpdateOperationsInput

Name Type Nullable
set Int No
increment Int No
decrement Int No
multiply Int No
divide Int No

OrderDetailUncheckedUpdateManyWithoutProductNestedInput

Name Type Nullable
create OrderDetailCreateWithoutProductInput | OrderDetailCreateWithoutProductInput[] | OrderDetailUncheckedCreateWithoutProductInput | OrderDetailUncheckedCreateWithoutProductInput[] No
connectOrCreate OrderDetailCreateOrConnectWithoutProductInput | OrderDetailCreateOrConnectWithoutProductInput[] No
upsert OrderDetailUpsertWithWhereUniqueWithoutProductInput | OrderDetailUpsertWithWhereUniqueWithoutProductInput[] No
createMany OrderDetailCreateManyProductInputEnvelope No
set OrderDetailWhereUniqueInput | OrderDetailWhereUniqueInput[] No
disconnect OrderDetailWhereUniqueInput | OrderDetailWhereUniqueInput[] No
delete OrderDetailWhereUniqueInput | OrderDetailWhereUniqueInput[] No
connect OrderDetailWhereUniqueInput | OrderDetailWhereUniqueInput[] No
update OrderDetailUpdateWithWhereUniqueWithoutProductInput | OrderDetailUpdateWithWhereUniqueWithoutProductInput[] No
updateMany OrderDetailUpdateManyWithWhereWithoutProductInput | OrderDetailUpdateManyWithWhereWithoutProductInput[] No
deleteMany OrderDetailScalarWhereInput | OrderDetailScalarWhereInput[] No

CartItemUncheckedUpdateManyWithoutProductNestedInput

Name Type Nullable
create CartItemCreateWithoutProductInput | CartItemCreateWithoutProductInput[] | CartItemUncheckedCreateWithoutProductInput | CartItemUncheckedCreateWithoutProductInput[] No
connectOrCreate CartItemCreateOrConnectWithoutProductInput | CartItemCreateOrConnectWithoutProductInput[] No
upsert CartItemUpsertWithWhereUniqueWithoutProductInput | CartItemUpsertWithWhereUniqueWithoutProductInput[] No
createMany CartItemCreateManyProductInputEnvelope No
set CartItemWhereUniqueInput | CartItemWhereUniqueInput[] No
disconnect CartItemWhereUniqueInput | CartItemWhereUniqueInput[] No
delete CartItemWhereUniqueInput | CartItemWhereUniqueInput[] No
connect CartItemWhereUniqueInput | CartItemWhereUniqueInput[] No
update CartItemUpdateWithWhereUniqueWithoutProductInput | CartItemUpdateWithWhereUniqueWithoutProductInput[] No
updateMany CartItemUpdateManyWithWhereWithoutProductInput | CartItemUpdateManyWithWhereWithoutProductInput[] No
deleteMany CartItemScalarWhereInput | CartItemScalarWhereInput[] No

ProductInventoryUncheckedUpdateManyWithoutProductNestedInput

Name Type Nullable
create ProductInventoryCreateWithoutProductInput | ProductInventoryCreateWithoutProductInput[] | ProductInventoryUncheckedCreateWithoutProductInput | ProductInventoryUncheckedCreateWithoutProductInput[] No
connectOrCreate ProductInventoryCreateOrConnectWithoutProductInput | ProductInventoryCreateOrConnectWithoutProductInput[] No
upsert ProductInventoryUpsertWithWhereUniqueWithoutProductInput | ProductInventoryUpsertWithWhereUniqueWithoutProductInput[] No
createMany ProductInventoryCreateManyProductInputEnvelope No
set ProductInventoryWhereUniqueInput | ProductInventoryWhereUniqueInput[] No
disconnect ProductInventoryWhereUniqueInput | ProductInventoryWhereUniqueInput[] No
delete ProductInventoryWhereUniqueInput | ProductInventoryWhereUniqueInput[] No
connect ProductInventoryWhereUniqueInput | ProductInventoryWhereUniqueInput[] No
update ProductInventoryUpdateWithWhereUniqueWithoutProductInput | ProductInventoryUpdateWithWhereUniqueWithoutProductInput[] No
updateMany ProductInventoryUpdateManyWithWhereWithoutProductInput | ProductInventoryUpdateManyWithWhereWithoutProductInput[] No
deleteMany ProductInventoryScalarWhereInput | ProductInventoryScalarWhereInput[] No

ProductImageUncheckedUpdateManyWithoutProductNestedInput

Name Type Nullable
create ProductImageCreateWithoutProductInput | ProductImageCreateWithoutProductInput[] | ProductImageUncheckedCreateWithoutProductInput | ProductImageUncheckedCreateWithoutProductInput[] No
connectOrCreate ProductImageCreateOrConnectWithoutProductInput | ProductImageCreateOrConnectWithoutProductInput[] No
upsert ProductImageUpsertWithWhereUniqueWithoutProductInput | ProductImageUpsertWithWhereUniqueWithoutProductInput[] No
createMany ProductImageCreateManyProductInputEnvelope No
set ProductImageWhereUniqueInput | ProductImageWhereUniqueInput[] No
disconnect ProductImageWhereUniqueInput | ProductImageWhereUniqueInput[] No
delete ProductImageWhereUniqueInput | ProductImageWhereUniqueInput[] No
connect ProductImageWhereUniqueInput | ProductImageWhereUniqueInput[] No
update ProductImageUpdateWithWhereUniqueWithoutProductInput | ProductImageUpdateWithWhereUniqueWithoutProductInput[] No
updateMany ProductImageUpdateManyWithWhereWithoutProductInput | ProductImageUpdateManyWithWhereWithoutProductInput[] No
deleteMany ProductImageScalarWhereInput | ProductImageScalarWhereInput[] No

UserReviewUncheckedUpdateManyWithoutProductNestedInput

Name Type Nullable
create UserReviewCreateWithoutProductInput | UserReviewCreateWithoutProductInput[] | UserReviewUncheckedCreateWithoutProductInput | UserReviewUncheckedCreateWithoutProductInput[] No
connectOrCreate UserReviewCreateOrConnectWithoutProductInput | UserReviewCreateOrConnectWithoutProductInput[] No
upsert UserReviewUpsertWithWhereUniqueWithoutProductInput | UserReviewUpsertWithWhereUniqueWithoutProductInput[] No
createMany UserReviewCreateManyProductInputEnvelope No
set UserReviewWhereUniqueInput | UserReviewWhereUniqueInput[] No
disconnect UserReviewWhereUniqueInput | UserReviewWhereUniqueInput[] No
delete UserReviewWhereUniqueInput | UserReviewWhereUniqueInput[] No
connect UserReviewWhereUniqueInput | UserReviewWhereUniqueInput[] No
update UserReviewUpdateWithWhereUniqueWithoutProductInput | UserReviewUpdateWithWhereUniqueWithoutProductInput[] No
updateMany UserReviewUpdateManyWithWhereWithoutProductInput | UserReviewUpdateManyWithWhereWithoutProductInput[] No
deleteMany UserReviewScalarWhereInput | UserReviewScalarWhereInput[] No

CategoryCreateNestedOneWithoutChildCategoriesInput

Name Type Nullable
create CategoryCreateWithoutChildCategoriesInput | CategoryUncheckedCreateWithoutChildCategoriesInput No
connectOrCreate CategoryCreateOrConnectWithoutChildCategoriesInput No
connect CategoryWhereUniqueInput No








CategoryUpdateManyWithoutParentCategoryNestedInput

Name Type Nullable
create CategoryCreateWithoutParentCategoryInput | CategoryCreateWithoutParentCategoryInput[] | CategoryUncheckedCreateWithoutParentCategoryInput | CategoryUncheckedCreateWithoutParentCategoryInput[] No
connectOrCreate CategoryCreateOrConnectWithoutParentCategoryInput | CategoryCreateOrConnectWithoutParentCategoryInput[] No
upsert CategoryUpsertWithWhereUniqueWithoutParentCategoryInput | CategoryUpsertWithWhereUniqueWithoutParentCategoryInput[] No
createMany CategoryCreateManyParentCategoryInputEnvelope No
set CategoryWhereUniqueInput | CategoryWhereUniqueInput[] No
disconnect CategoryWhereUniqueInput | CategoryWhereUniqueInput[] No
delete CategoryWhereUniqueInput | CategoryWhereUniqueInput[] No
connect CategoryWhereUniqueInput | CategoryWhereUniqueInput[] No
update CategoryUpdateWithWhereUniqueWithoutParentCategoryInput | CategoryUpdateWithWhereUniqueWithoutParentCategoryInput[] No
updateMany CategoryUpdateManyWithWhereWithoutParentCategoryInput | CategoryUpdateManyWithWhereWithoutParentCategoryInput[] No
deleteMany CategoryScalarWhereInput | CategoryScalarWhereInput[] No

ProductUpdateManyWithoutCategoryNestedInput

Name Type Nullable
create ProductCreateWithoutCategoryInput | ProductCreateWithoutCategoryInput[] | ProductUncheckedCreateWithoutCategoryInput | ProductUncheckedCreateWithoutCategoryInput[] No
connectOrCreate ProductCreateOrConnectWithoutCategoryInput | ProductCreateOrConnectWithoutCategoryInput[] No
upsert ProductUpsertWithWhereUniqueWithoutCategoryInput | ProductUpsertWithWhereUniqueWithoutCategoryInput[] No
createMany ProductCreateManyCategoryInputEnvelope No
set ProductWhereUniqueInput | ProductWhereUniqueInput[] No
disconnect ProductWhereUniqueInput | ProductWhereUniqueInput[] No
delete ProductWhereUniqueInput | ProductWhereUniqueInput[] No
connect ProductWhereUniqueInput | ProductWhereUniqueInput[] No
update ProductUpdateWithWhereUniqueWithoutCategoryInput | ProductUpdateWithWhereUniqueWithoutCategoryInput[] No
updateMany ProductUpdateManyWithWhereWithoutCategoryInput | ProductUpdateManyWithWhereWithoutCategoryInput[] No
deleteMany ProductScalarWhereInput | ProductScalarWhereInput[] No

PromotionCategoryUpdateManyWithoutCategoryNestedInput

Name Type Nullable
create PromotionCategoryCreateWithoutCategoryInput | PromotionCategoryCreateWithoutCategoryInput[] | PromotionCategoryUncheckedCreateWithoutCategoryInput | PromotionCategoryUncheckedCreateWithoutCategoryInput[] No
connectOrCreate PromotionCategoryCreateOrConnectWithoutCategoryInput | PromotionCategoryCreateOrConnectWithoutCategoryInput[] No
upsert PromotionCategoryUpsertWithWhereUniqueWithoutCategoryInput | PromotionCategoryUpsertWithWhereUniqueWithoutCategoryInput[] No
createMany PromotionCategoryCreateManyCategoryInputEnvelope No
set PromotionCategoryWhereUniqueInput | PromotionCategoryWhereUniqueInput[] No
disconnect PromotionCategoryWhereUniqueInput | PromotionCategoryWhereUniqueInput[] No
delete PromotionCategoryWhereUniqueInput | PromotionCategoryWhereUniqueInput[] No
connect PromotionCategoryWhereUniqueInput | PromotionCategoryWhereUniqueInput[] No
update PromotionCategoryUpdateWithWhereUniqueWithoutCategoryInput | PromotionCategoryUpdateWithWhereUniqueWithoutCategoryInput[] No
updateMany PromotionCategoryUpdateManyWithWhereWithoutCategoryInput | PromotionCategoryUpdateManyWithWhereWithoutCategoryInput[] No
deleteMany PromotionCategoryScalarWhereInput | PromotionCategoryScalarWhereInput[] No

CategoryUncheckedUpdateManyWithoutParentCategoryNestedInput

Name Type Nullable
create CategoryCreateWithoutParentCategoryInput | CategoryCreateWithoutParentCategoryInput[] | CategoryUncheckedCreateWithoutParentCategoryInput | CategoryUncheckedCreateWithoutParentCategoryInput[] No
connectOrCreate CategoryCreateOrConnectWithoutParentCategoryInput | CategoryCreateOrConnectWithoutParentCategoryInput[] No
upsert CategoryUpsertWithWhereUniqueWithoutParentCategoryInput | CategoryUpsertWithWhereUniqueWithoutParentCategoryInput[] No
createMany CategoryCreateManyParentCategoryInputEnvelope No
set CategoryWhereUniqueInput | CategoryWhereUniqueInput[] No
disconnect CategoryWhereUniqueInput | CategoryWhereUniqueInput[] No
delete CategoryWhereUniqueInput | CategoryWhereUniqueInput[] No
connect CategoryWhereUniqueInput | CategoryWhereUniqueInput[] No
update CategoryUpdateWithWhereUniqueWithoutParentCategoryInput | CategoryUpdateWithWhereUniqueWithoutParentCategoryInput[] No
updateMany CategoryUpdateManyWithWhereWithoutParentCategoryInput | CategoryUpdateManyWithWhereWithoutParentCategoryInput[] No
deleteMany CategoryScalarWhereInput | CategoryScalarWhereInput[] No

ProductUncheckedUpdateManyWithoutCategoryNestedInput

Name Type Nullable
create ProductCreateWithoutCategoryInput | ProductCreateWithoutCategoryInput[] | ProductUncheckedCreateWithoutCategoryInput | ProductUncheckedCreateWithoutCategoryInput[] No
connectOrCreate ProductCreateOrConnectWithoutCategoryInput | ProductCreateOrConnectWithoutCategoryInput[] No
upsert ProductUpsertWithWhereUniqueWithoutCategoryInput | ProductUpsertWithWhereUniqueWithoutCategoryInput[] No
createMany ProductCreateManyCategoryInputEnvelope No
set ProductWhereUniqueInput | ProductWhereUniqueInput[] No
disconnect ProductWhereUniqueInput | ProductWhereUniqueInput[] No
delete ProductWhereUniqueInput | ProductWhereUniqueInput[] No
connect ProductWhereUniqueInput | ProductWhereUniqueInput[] No
update ProductUpdateWithWhereUniqueWithoutCategoryInput | ProductUpdateWithWhereUniqueWithoutCategoryInput[] No
updateMany ProductUpdateManyWithWhereWithoutCategoryInput | ProductUpdateManyWithWhereWithoutCategoryInput[] No
deleteMany ProductScalarWhereInput | ProductScalarWhereInput[] No

PromotionCategoryUncheckedUpdateManyWithoutCategoryNestedInput

Name Type Nullable
create PromotionCategoryCreateWithoutCategoryInput | PromotionCategoryCreateWithoutCategoryInput[] | PromotionCategoryUncheckedCreateWithoutCategoryInput | PromotionCategoryUncheckedCreateWithoutCategoryInput[] No
connectOrCreate PromotionCategoryCreateOrConnectWithoutCategoryInput | PromotionCategoryCreateOrConnectWithoutCategoryInput[] No
upsert PromotionCategoryUpsertWithWhereUniqueWithoutCategoryInput | PromotionCategoryUpsertWithWhereUniqueWithoutCategoryInput[] No
createMany PromotionCategoryCreateManyCategoryInputEnvelope No
set PromotionCategoryWhereUniqueInput | PromotionCategoryWhereUniqueInput[] No
disconnect PromotionCategoryWhereUniqueInput | PromotionCategoryWhereUniqueInput[] No
delete PromotionCategoryWhereUniqueInput | PromotionCategoryWhereUniqueInput[] No
connect PromotionCategoryWhereUniqueInput | PromotionCategoryWhereUniqueInput[] No
update PromotionCategoryUpdateWithWhereUniqueWithoutCategoryInput | PromotionCategoryUpdateWithWhereUniqueWithoutCategoryInput[] No
updateMany PromotionCategoryUpdateManyWithWhereWithoutCategoryInput | PromotionCategoryUpdateManyWithWhereWithoutCategoryInput[] No
deleteMany PromotionCategoryScalarWhereInput | PromotionCategoryScalarWhereInput[] No

ProductCreateNestedOneWithoutProductInventoryInput

Name Type Nullable
create ProductCreateWithoutProductInventoryInput | ProductUncheckedCreateWithoutProductInventoryInput No
connectOrCreate ProductCreateOrConnectWithoutProductInventoryInput No
connect ProductWhereUniqueInput No

EnumInventoryStatusFieldUpdateOperationsInput

Name Type Nullable
set InventoryStatus No


ProductCreateNestedOneWithoutProductImageInput

Name Type Nullable
create ProductCreateWithoutProductImageInput | ProductUncheckedCreateWithoutProductImageInput No
connectOrCreate ProductCreateOrConnectWithoutProductImageInput No
connect ProductWhereUniqueInput No



UserProfileCreateNestedOneWithoutUserInput

Name Type Nullable
create UserProfileCreateWithoutUserInput | UserProfileUncheckedCreateWithoutUserInput No
connectOrCreate UserProfileCreateOrConnectWithoutUserInput No
connect UserProfileWhereUniqueInput No


CartCreateNestedOneWithoutUserInput

Name Type Nullable
create CartCreateWithoutUserInput | CartUncheckedCreateWithoutUserInput No
connectOrCreate CartCreateOrConnectWithoutUserInput No
connect CartWhereUniqueInput No

LoginCreateNestedOneWithoutUserInput

Name Type Nullable
create LoginCreateWithoutUserInput | LoginUncheckedCreateWithoutUserInput No
connectOrCreate LoginCreateOrConnectWithoutUserInput No
connect LoginWhereUniqueInput No




AuthenticationTokenUncheckedCreateNestedOneWithoutUserInput

Name Type Nullable
create AuthenticationTokenCreateWithoutUserInput | AuthenticationTokenUncheckedCreateWithoutUserInput No
connectOrCreate AuthenticationTokenCreateOrConnectWithoutUserInput No
connect AuthenticationTokenWhereUniqueInput No

UserProfileUncheckedCreateNestedOneWithoutUserInput

Name Type Nullable
create UserProfileCreateWithoutUserInput | UserProfileUncheckedCreateWithoutUserInput No
connectOrCreate UserProfileCreateOrConnectWithoutUserInput No
connect UserProfileWhereUniqueInput No


CartUncheckedCreateNestedOneWithoutUserInput

Name Type Nullable
create CartCreateWithoutUserInput | CartUncheckedCreateWithoutUserInput No
connectOrCreate CartCreateOrConnectWithoutUserInput No
connect CartWhereUniqueInput No

LoginUncheckedCreateNestedOneWithoutUserInput

Name Type Nullable
create LoginCreateWithoutUserInput | LoginUncheckedCreateWithoutUserInput No
connectOrCreate LoginCreateOrConnectWithoutUserInput No
connect LoginWhereUniqueInput No






UserReviewUpdateManyWithoutAuthorNestedInput

Name Type Nullable
create UserReviewCreateWithoutAuthorInput | UserReviewCreateWithoutAuthorInput[] | UserReviewUncheckedCreateWithoutAuthorInput | UserReviewUncheckedCreateWithoutAuthorInput[] No
connectOrCreate UserReviewCreateOrConnectWithoutAuthorInput | UserReviewCreateOrConnectWithoutAuthorInput[] No
upsert UserReviewUpsertWithWhereUniqueWithoutAuthorInput | UserReviewUpsertWithWhereUniqueWithoutAuthorInput[] No
createMany UserReviewCreateManyAuthorInputEnvelope No
set UserReviewWhereUniqueInput | UserReviewWhereUniqueInput[] No
disconnect UserReviewWhereUniqueInput | UserReviewWhereUniqueInput[] No
delete UserReviewWhereUniqueInput | UserReviewWhereUniqueInput[] No
connect UserReviewWhereUniqueInput | UserReviewWhereUniqueInput[] No
update UserReviewUpdateWithWhereUniqueWithoutAuthorInput | UserReviewUpdateWithWhereUniqueWithoutAuthorInput[] No
updateMany UserReviewUpdateManyWithWhereWithoutAuthorInput | UserReviewUpdateManyWithWhereWithoutAuthorInput[] No
deleteMany UserReviewScalarWhereInput | UserReviewScalarWhereInput[] No



UserRoleUpdateManyWithoutUserNestedInput

Name Type Nullable
create UserRoleCreateWithoutUserInput | UserRoleCreateWithoutUserInput[] | UserRoleUncheckedCreateWithoutUserInput | UserRoleUncheckedCreateWithoutUserInput[] No
connectOrCreate UserRoleCreateOrConnectWithoutUserInput | UserRoleCreateOrConnectWithoutUserInput[] No
upsert UserRoleUpsertWithWhereUniqueWithoutUserInput | UserRoleUpsertWithWhereUniqueWithoutUserInput[] No
createMany UserRoleCreateManyUserInputEnvelope No
set UserRoleWhereUniqueInput | UserRoleWhereUniqueInput[] No
disconnect UserRoleWhereUniqueInput | UserRoleWhereUniqueInput[] No
delete UserRoleWhereUniqueInput | UserRoleWhereUniqueInput[] No
connect UserRoleWhereUniqueInput | UserRoleWhereUniqueInput[] No
update UserRoleUpdateWithWhereUniqueWithoutUserInput | UserRoleUpdateWithWhereUniqueWithoutUserInput[] No
updateMany UserRoleUpdateManyWithWhereWithoutUserInput | UserRoleUpdateManyWithWhereWithoutUserInput[] No
deleteMany UserRoleScalarWhereInput | UserRoleScalarWhereInput[] No

PaymentMethodUpdateManyWithoutUserNestedInput

Name Type Nullable
create PaymentMethodCreateWithoutUserInput | PaymentMethodCreateWithoutUserInput[] | PaymentMethodUncheckedCreateWithoutUserInput | PaymentMethodUncheckedCreateWithoutUserInput[] No
connectOrCreate PaymentMethodCreateOrConnectWithoutUserInput | PaymentMethodCreateOrConnectWithoutUserInput[] No
upsert PaymentMethodUpsertWithWhereUniqueWithoutUserInput | PaymentMethodUpsertWithWhereUniqueWithoutUserInput[] No
createMany PaymentMethodCreateManyUserInputEnvelope No
set PaymentMethodWhereUniqueInput | PaymentMethodWhereUniqueInput[] No
disconnect PaymentMethodWhereUniqueInput | PaymentMethodWhereUniqueInput[] No
delete PaymentMethodWhereUniqueInput | PaymentMethodWhereUniqueInput[] No
connect PaymentMethodWhereUniqueInput | PaymentMethodWhereUniqueInput[] No
update PaymentMethodUpdateWithWhereUniqueWithoutUserInput | PaymentMethodUpdateWithWhereUniqueWithoutUserInput[] No
updateMany PaymentMethodUpdateManyWithWhereWithoutUserInput | PaymentMethodUpdateManyWithWhereWithoutUserInput[] No
deleteMany PaymentMethodScalarWhereInput | PaymentMethodScalarWhereInput[] No

OrderUpdateManyWithoutUserNestedInput

Name Type Nullable
create OrderCreateWithoutUserInput | OrderCreateWithoutUserInput[] | OrderUncheckedCreateWithoutUserInput | OrderUncheckedCreateWithoutUserInput[] No
connectOrCreate OrderCreateOrConnectWithoutUserInput | OrderCreateOrConnectWithoutUserInput[] No
upsert OrderUpsertWithWhereUniqueWithoutUserInput | OrderUpsertWithWhereUniqueWithoutUserInput[] No
createMany OrderCreateManyUserInputEnvelope No
set OrderWhereUniqueInput | OrderWhereUniqueInput[] No
disconnect OrderWhereUniqueInput | OrderWhereUniqueInput[] No
delete OrderWhereUniqueInput | OrderWhereUniqueInput[] No
connect OrderWhereUniqueInput | OrderWhereUniqueInput[] No
update OrderUpdateWithWhereUniqueWithoutUserInput | OrderUpdateWithWhereUniqueWithoutUserInput[] No
updateMany OrderUpdateManyWithWhereWithoutUserInput | OrderUpdateManyWithWhereWithoutUserInput[] No
deleteMany OrderScalarWhereInput | OrderScalarWhereInput[] No



UserReviewUncheckedUpdateManyWithoutAuthorNestedInput

Name Type Nullable
create UserReviewCreateWithoutAuthorInput | UserReviewCreateWithoutAuthorInput[] | UserReviewUncheckedCreateWithoutAuthorInput | UserReviewUncheckedCreateWithoutAuthorInput[] No
connectOrCreate UserReviewCreateOrConnectWithoutAuthorInput | UserReviewCreateOrConnectWithoutAuthorInput[] No
upsert UserReviewUpsertWithWhereUniqueWithoutAuthorInput | UserReviewUpsertWithWhereUniqueWithoutAuthorInput[] No
createMany UserReviewCreateManyAuthorInputEnvelope No
set UserReviewWhereUniqueInput | UserReviewWhereUniqueInput[] No
disconnect UserReviewWhereUniqueInput | UserReviewWhereUniqueInput[] No
delete UserReviewWhereUniqueInput | UserReviewWhereUniqueInput[] No
connect UserReviewWhereUniqueInput | UserReviewWhereUniqueInput[] No
update UserReviewUpdateWithWhereUniqueWithoutAuthorInput | UserReviewUpdateWithWhereUniqueWithoutAuthorInput[] No
updateMany UserReviewUpdateManyWithWhereWithoutAuthorInput | UserReviewUpdateManyWithWhereWithoutAuthorInput[] No
deleteMany UserReviewScalarWhereInput | UserReviewScalarWhereInput[] No

CartUncheckedUpdateOneWithoutUserNestedInput

Name Type Nullable
create CartCreateWithoutUserInput | CartUncheckedCreateWithoutUserInput No
connectOrCreate CartCreateOrConnectWithoutUserInput No
upsert CartUpsertWithoutUserInput No
disconnect Boolean | CartWhereInput No
delete Boolean | CartWhereInput No
connect CartWhereUniqueInput No
update CartUpdateToOneWithWhereWithoutUserInput | CartUpdateWithoutUserInput | CartUncheckedUpdateWithoutUserInput No


UserRoleUncheckedUpdateManyWithoutUserNestedInput

Name Type Nullable
create UserRoleCreateWithoutUserInput | UserRoleCreateWithoutUserInput[] | UserRoleUncheckedCreateWithoutUserInput | UserRoleUncheckedCreateWithoutUserInput[] No
connectOrCreate UserRoleCreateOrConnectWithoutUserInput | UserRoleCreateOrConnectWithoutUserInput[] No
upsert UserRoleUpsertWithWhereUniqueWithoutUserInput | UserRoleUpsertWithWhereUniqueWithoutUserInput[] No
createMany UserRoleCreateManyUserInputEnvelope No
set UserRoleWhereUniqueInput | UserRoleWhereUniqueInput[] No
disconnect UserRoleWhereUniqueInput | UserRoleWhereUniqueInput[] No
delete UserRoleWhereUniqueInput | UserRoleWhereUniqueInput[] No
connect UserRoleWhereUniqueInput | UserRoleWhereUniqueInput[] No
update UserRoleUpdateWithWhereUniqueWithoutUserInput | UserRoleUpdateWithWhereUniqueWithoutUserInput[] No
updateMany UserRoleUpdateManyWithWhereWithoutUserInput | UserRoleUpdateManyWithWhereWithoutUserInput[] No
deleteMany UserRoleScalarWhereInput | UserRoleScalarWhereInput[] No

PaymentMethodUncheckedUpdateManyWithoutUserNestedInput

Name Type Nullable
create PaymentMethodCreateWithoutUserInput | PaymentMethodCreateWithoutUserInput[] | PaymentMethodUncheckedCreateWithoutUserInput | PaymentMethodUncheckedCreateWithoutUserInput[] No
connectOrCreate PaymentMethodCreateOrConnectWithoutUserInput | PaymentMethodCreateOrConnectWithoutUserInput[] No
upsert PaymentMethodUpsertWithWhereUniqueWithoutUserInput | PaymentMethodUpsertWithWhereUniqueWithoutUserInput[] No
createMany PaymentMethodCreateManyUserInputEnvelope No
set PaymentMethodWhereUniqueInput | PaymentMethodWhereUniqueInput[] No
disconnect PaymentMethodWhereUniqueInput | PaymentMethodWhereUniqueInput[] No
delete PaymentMethodWhereUniqueInput | PaymentMethodWhereUniqueInput[] No
connect PaymentMethodWhereUniqueInput | PaymentMethodWhereUniqueInput[] No
update PaymentMethodUpdateWithWhereUniqueWithoutUserInput | PaymentMethodUpdateWithWhereUniqueWithoutUserInput[] No
updateMany PaymentMethodUpdateManyWithWhereWithoutUserInput | PaymentMethodUpdateManyWithWhereWithoutUserInput[] No
deleteMany PaymentMethodScalarWhereInput | PaymentMethodScalarWhereInput[] No

OrderUncheckedUpdateManyWithoutUserNestedInput

Name Type Nullable
create OrderCreateWithoutUserInput | OrderCreateWithoutUserInput[] | OrderUncheckedCreateWithoutUserInput | OrderUncheckedCreateWithoutUserInput[] No
connectOrCreate OrderCreateOrConnectWithoutUserInput | OrderCreateOrConnectWithoutUserInput[] No
upsert OrderUpsertWithWhereUniqueWithoutUserInput | OrderUpsertWithWhereUniqueWithoutUserInput[] No
createMany OrderCreateManyUserInputEnvelope No
set OrderWhereUniqueInput | OrderWhereUniqueInput[] No
disconnect OrderWhereUniqueInput | OrderWhereUniqueInput[] No
delete OrderWhereUniqueInput | OrderWhereUniqueInput[] No
connect OrderWhereUniqueInput | OrderWhereUniqueInput[] No
update OrderUpdateWithWhereUniqueWithoutUserInput | OrderUpdateWithWhereUniqueWithoutUserInput[] No
updateMany OrderUpdateManyWithWhereWithoutUserInput | OrderUpdateManyWithWhereWithoutUserInput[] No
deleteMany OrderScalarWhereInput | OrderScalarWhereInput[] No

UserCreateNestedOneWithoutLoginInput

Name Type Nullable
create UserCreateWithoutLoginInput | UserUncheckedCreateWithoutLoginInput No
connectOrCreate UserCreateOrConnectWithoutLoginInput No
connect UserWhereUniqueInput No

NullableDateTimeFieldUpdateOperationsInput

Name Type Nullable
set DateTime | Null Yes


UserCreateNestedOneWithoutAuthenticationTokenInput

Name Type Nullable
create UserCreateWithoutAuthenticationTokenInput | UserUncheckedCreateWithoutAuthenticationTokenInput No
connectOrCreate UserCreateOrConnectWithoutAuthenticationTokenInput No
connect UserWhereUniqueInput No




UserCreateNestedOneWithoutProfileInput

Name Type Nullable
create UserCreateWithoutProfileInput | UserUncheckedCreateWithoutProfileInput No
connectOrCreate UserCreateOrConnectWithoutProfileInput No
connect UserWhereUniqueInput No



NullableEnumGenderFieldUpdateOperationsInput

Name Type Nullable
set Gender | Null Yes

UserAddressUpdateManyWithoutUserProfileNestedInput

Name Type Nullable
create UserAddressCreateWithoutUserProfileInput | UserAddressCreateWithoutUserProfileInput[] | UserAddressUncheckedCreateWithoutUserProfileInput | UserAddressUncheckedCreateWithoutUserProfileInput[] No
connectOrCreate UserAddressCreateOrConnectWithoutUserProfileInput | UserAddressCreateOrConnectWithoutUserProfileInput[] No
upsert UserAddressUpsertWithWhereUniqueWithoutUserProfileInput | UserAddressUpsertWithWhereUniqueWithoutUserProfileInput[] No
createMany UserAddressCreateManyUserProfileInputEnvelope No
set UserAddressWhereUniqueInput | UserAddressWhereUniqueInput[] No
disconnect UserAddressWhereUniqueInput | UserAddressWhereUniqueInput[] No
delete UserAddressWhereUniqueInput | UserAddressWhereUniqueInput[] No
connect UserAddressWhereUniqueInput | UserAddressWhereUniqueInput[] No
update UserAddressUpdateWithWhereUniqueWithoutUserProfileInput | UserAddressUpdateWithWhereUniqueWithoutUserProfileInput[] No
updateMany UserAddressUpdateManyWithWhereWithoutUserProfileInput | UserAddressUpdateManyWithWhereWithoutUserProfileInput[] No
deleteMany UserAddressScalarWhereInput | UserAddressScalarWhereInput[] No

SocialLinkUpdateManyWithoutUserProfileNestedInput

Name Type Nullable
create SocialLinkCreateWithoutUserProfileInput | SocialLinkCreateWithoutUserProfileInput[] | SocialLinkUncheckedCreateWithoutUserProfileInput | SocialLinkUncheckedCreateWithoutUserProfileInput[] No
connectOrCreate SocialLinkCreateOrConnectWithoutUserProfileInput | SocialLinkCreateOrConnectWithoutUserProfileInput[] No
upsert SocialLinkUpsertWithWhereUniqueWithoutUserProfileInput | SocialLinkUpsertWithWhereUniqueWithoutUserProfileInput[] No
createMany SocialLinkCreateManyUserProfileInputEnvelope No
set SocialLinkWhereUniqueInput | SocialLinkWhereUniqueInput[] No
disconnect SocialLinkWhereUniqueInput | SocialLinkWhereUniqueInput[] No
delete SocialLinkWhereUniqueInput | SocialLinkWhereUniqueInput[] No
connect SocialLinkWhereUniqueInput | SocialLinkWhereUniqueInput[] No
update SocialLinkUpdateWithWhereUniqueWithoutUserProfileInput | SocialLinkUpdateWithWhereUniqueWithoutUserProfileInput[] No
updateMany SocialLinkUpdateManyWithWhereWithoutUserProfileInput | SocialLinkUpdateManyWithWhereWithoutUserProfileInput[] No
deleteMany SocialLinkScalarWhereInput | SocialLinkScalarWhereInput[] No


UserAddressUncheckedUpdateManyWithoutUserProfileNestedInput

Name Type Nullable
create UserAddressCreateWithoutUserProfileInput | UserAddressCreateWithoutUserProfileInput[] | UserAddressUncheckedCreateWithoutUserProfileInput | UserAddressUncheckedCreateWithoutUserProfileInput[] No
connectOrCreate UserAddressCreateOrConnectWithoutUserProfileInput | UserAddressCreateOrConnectWithoutUserProfileInput[] No
upsert UserAddressUpsertWithWhereUniqueWithoutUserProfileInput | UserAddressUpsertWithWhereUniqueWithoutUserProfileInput[] No
createMany UserAddressCreateManyUserProfileInputEnvelope No
set UserAddressWhereUniqueInput | UserAddressWhereUniqueInput[] No
disconnect UserAddressWhereUniqueInput | UserAddressWhereUniqueInput[] No
delete UserAddressWhereUniqueInput | UserAddressWhereUniqueInput[] No
connect UserAddressWhereUniqueInput | UserAddressWhereUniqueInput[] No
update UserAddressUpdateWithWhereUniqueWithoutUserProfileInput | UserAddressUpdateWithWhereUniqueWithoutUserProfileInput[] No
updateMany UserAddressUpdateManyWithWhereWithoutUserProfileInput | UserAddressUpdateManyWithWhereWithoutUserProfileInput[] No
deleteMany UserAddressScalarWhereInput | UserAddressScalarWhereInput[] No

SocialLinkUncheckedUpdateManyWithoutUserProfileNestedInput

Name Type Nullable
create SocialLinkCreateWithoutUserProfileInput | SocialLinkCreateWithoutUserProfileInput[] | SocialLinkUncheckedCreateWithoutUserProfileInput | SocialLinkUncheckedCreateWithoutUserProfileInput[] No
connectOrCreate SocialLinkCreateOrConnectWithoutUserProfileInput | SocialLinkCreateOrConnectWithoutUserProfileInput[] No
upsert SocialLinkUpsertWithWhereUniqueWithoutUserProfileInput | SocialLinkUpsertWithWhereUniqueWithoutUserProfileInput[] No
createMany SocialLinkCreateManyUserProfileInputEnvelope No
set SocialLinkWhereUniqueInput | SocialLinkWhereUniqueInput[] No
disconnect SocialLinkWhereUniqueInput | SocialLinkWhereUniqueInput[] No
delete SocialLinkWhereUniqueInput | SocialLinkWhereUniqueInput[] No
connect SocialLinkWhereUniqueInput | SocialLinkWhereUniqueInput[] No
update SocialLinkUpdateWithWhereUniqueWithoutUserProfileInput | SocialLinkUpdateWithWhereUniqueWithoutUserProfileInput[] No
updateMany SocialLinkUpdateManyWithWhereWithoutUserProfileInput | SocialLinkUpdateManyWithWhereWithoutUserProfileInput[] No
deleteMany SocialLinkScalarWhereInput | SocialLinkScalarWhereInput[] No

UserProfileCreateNestedOneWithoutUserAddressInput

Name Type Nullable
create UserProfileCreateWithoutUserAddressInput | UserProfileUncheckedCreateWithoutUserAddressInput No
connectOrCreate UserProfileCreateOrConnectWithoutUserAddressInput No
connect UserProfileWhereUniqueInput No

AddressCreateNestedOneWithoutUserAddressInput

Name Type Nullable
create AddressCreateWithoutUserAddressInput | AddressUncheckedCreateWithoutUserAddressInput No
connectOrCreate AddressCreateOrConnectWithoutUserAddressInput No
connect AddressWhereUniqueInput No

BoolFieldUpdateOperationsInput

Name Type Nullable
set Boolean No









UserAddressUpdateManyWithoutAddressNestedInput

Name Type Nullable
create UserAddressCreateWithoutAddressInput | UserAddressCreateWithoutAddressInput[] | UserAddressUncheckedCreateWithoutAddressInput | UserAddressUncheckedCreateWithoutAddressInput[] No
connectOrCreate UserAddressCreateOrConnectWithoutAddressInput | UserAddressCreateOrConnectWithoutAddressInput[] No
upsert UserAddressUpsertWithWhereUniqueWithoutAddressInput | UserAddressUpsertWithWhereUniqueWithoutAddressInput[] No
createMany UserAddressCreateManyAddressInputEnvelope No
set UserAddressWhereUniqueInput | UserAddressWhereUniqueInput[] No
disconnect UserAddressWhereUniqueInput | UserAddressWhereUniqueInput[] No
delete UserAddressWhereUniqueInput | UserAddressWhereUniqueInput[] No
connect UserAddressWhereUniqueInput | UserAddressWhereUniqueInput[] No
update UserAddressUpdateWithWhereUniqueWithoutAddressInput | UserAddressUpdateWithWhereUniqueWithoutAddressInput[] No
updateMany UserAddressUpdateManyWithWhereWithoutAddressInput | UserAddressUpdateManyWithWhereWithoutAddressInput[] No
deleteMany UserAddressScalarWhereInput | UserAddressScalarWhereInput[] No

PaymentDetailUpdateManyWithoutBillingAddressNestedInput

Name Type Nullable
create PaymentDetailCreateWithoutBillingAddressInput | PaymentDetailCreateWithoutBillingAddressInput[] | PaymentDetailUncheckedCreateWithoutBillingAddressInput | PaymentDetailUncheckedCreateWithoutBillingAddressInput[] No
connectOrCreate PaymentDetailCreateOrConnectWithoutBillingAddressInput | PaymentDetailCreateOrConnectWithoutBillingAddressInput[] No
upsert PaymentDetailUpsertWithWhereUniqueWithoutBillingAddressInput | PaymentDetailUpsertWithWhereUniqueWithoutBillingAddressInput[] No
createMany PaymentDetailCreateManyBillingAddressInputEnvelope No
set PaymentDetailWhereUniqueInput | PaymentDetailWhereUniqueInput[] No
disconnect PaymentDetailWhereUniqueInput | PaymentDetailWhereUniqueInput[] No
delete PaymentDetailWhereUniqueInput | PaymentDetailWhereUniqueInput[] No
connect PaymentDetailWhereUniqueInput | PaymentDetailWhereUniqueInput[] No
update PaymentDetailUpdateWithWhereUniqueWithoutBillingAddressInput | PaymentDetailUpdateWithWhereUniqueWithoutBillingAddressInput[] No
updateMany PaymentDetailUpdateManyWithWhereWithoutBillingAddressInput | PaymentDetailUpdateManyWithWhereWithoutBillingAddressInput[] No
deleteMany PaymentDetailScalarWhereInput | PaymentDetailScalarWhereInput[] No

ShippingDetailUpdateManyWithoutShippingAddressNestedInput

Name Type Nullable
create ShippingDetailCreateWithoutShippingAddressInput | ShippingDetailCreateWithoutShippingAddressInput[] | ShippingDetailUncheckedCreateWithoutShippingAddressInput | ShippingDetailUncheckedCreateWithoutShippingAddressInput[] No
connectOrCreate ShippingDetailCreateOrConnectWithoutShippingAddressInput | ShippingDetailCreateOrConnectWithoutShippingAddressInput[] No
upsert ShippingDetailUpsertWithWhereUniqueWithoutShippingAddressInput | ShippingDetailUpsertWithWhereUniqueWithoutShippingAddressInput[] No
createMany ShippingDetailCreateManyShippingAddressInputEnvelope No
set ShippingDetailWhereUniqueInput | ShippingDetailWhereUniqueInput[] No
disconnect ShippingDetailWhereUniqueInput | ShippingDetailWhereUniqueInput[] No
delete ShippingDetailWhereUniqueInput | ShippingDetailWhereUniqueInput[] No
connect ShippingDetailWhereUniqueInput | ShippingDetailWhereUniqueInput[] No
update ShippingDetailUpdateWithWhereUniqueWithoutShippingAddressInput | ShippingDetailUpdateWithWhereUniqueWithoutShippingAddressInput[] No
updateMany ShippingDetailUpdateManyWithWhereWithoutShippingAddressInput | ShippingDetailUpdateManyWithWhereWithoutShippingAddressInput[] No
deleteMany ShippingDetailScalarWhereInput | ShippingDetailScalarWhereInput[] No

UserAddressUncheckedUpdateManyWithoutAddressNestedInput

Name Type Nullable
create UserAddressCreateWithoutAddressInput | UserAddressCreateWithoutAddressInput[] | UserAddressUncheckedCreateWithoutAddressInput | UserAddressUncheckedCreateWithoutAddressInput[] No
connectOrCreate UserAddressCreateOrConnectWithoutAddressInput | UserAddressCreateOrConnectWithoutAddressInput[] No
upsert UserAddressUpsertWithWhereUniqueWithoutAddressInput | UserAddressUpsertWithWhereUniqueWithoutAddressInput[] No
createMany UserAddressCreateManyAddressInputEnvelope No
set UserAddressWhereUniqueInput | UserAddressWhereUniqueInput[] No
disconnect UserAddressWhereUniqueInput | UserAddressWhereUniqueInput[] No
delete UserAddressWhereUniqueInput | UserAddressWhereUniqueInput[] No
connect UserAddressWhereUniqueInput | UserAddressWhereUniqueInput[] No
update UserAddressUpdateWithWhereUniqueWithoutAddressInput | UserAddressUpdateWithWhereUniqueWithoutAddressInput[] No
updateMany UserAddressUpdateManyWithWhereWithoutAddressInput | UserAddressUpdateManyWithWhereWithoutAddressInput[] No
deleteMany UserAddressScalarWhereInput | UserAddressScalarWhereInput[] No

PaymentDetailUncheckedUpdateManyWithoutBillingAddressNestedInput

Name Type Nullable
create PaymentDetailCreateWithoutBillingAddressInput | PaymentDetailCreateWithoutBillingAddressInput[] | PaymentDetailUncheckedCreateWithoutBillingAddressInput | PaymentDetailUncheckedCreateWithoutBillingAddressInput[] No
connectOrCreate PaymentDetailCreateOrConnectWithoutBillingAddressInput | PaymentDetailCreateOrConnectWithoutBillingAddressInput[] No
upsert PaymentDetailUpsertWithWhereUniqueWithoutBillingAddressInput | PaymentDetailUpsertWithWhereUniqueWithoutBillingAddressInput[] No
createMany PaymentDetailCreateManyBillingAddressInputEnvelope No
set PaymentDetailWhereUniqueInput | PaymentDetailWhereUniqueInput[] No
disconnect PaymentDetailWhereUniqueInput | PaymentDetailWhereUniqueInput[] No
delete PaymentDetailWhereUniqueInput | PaymentDetailWhereUniqueInput[] No
connect PaymentDetailWhereUniqueInput | PaymentDetailWhereUniqueInput[] No
update PaymentDetailUpdateWithWhereUniqueWithoutBillingAddressInput | PaymentDetailUpdateWithWhereUniqueWithoutBillingAddressInput[] No
updateMany PaymentDetailUpdateManyWithWhereWithoutBillingAddressInput | PaymentDetailUpdateManyWithWhereWithoutBillingAddressInput[] No
deleteMany PaymentDetailScalarWhereInput | PaymentDetailScalarWhereInput[] No

ShippingDetailUncheckedUpdateManyWithoutShippingAddressNestedInput

Name Type Nullable
create ShippingDetailCreateWithoutShippingAddressInput | ShippingDetailCreateWithoutShippingAddressInput[] | ShippingDetailUncheckedCreateWithoutShippingAddressInput | ShippingDetailUncheckedCreateWithoutShippingAddressInput[] No
connectOrCreate ShippingDetailCreateOrConnectWithoutShippingAddressInput | ShippingDetailCreateOrConnectWithoutShippingAddressInput[] No
upsert ShippingDetailUpsertWithWhereUniqueWithoutShippingAddressInput | ShippingDetailUpsertWithWhereUniqueWithoutShippingAddressInput[] No
createMany ShippingDetailCreateManyShippingAddressInputEnvelope No
set ShippingDetailWhereUniqueInput | ShippingDetailWhereUniqueInput[] No
disconnect ShippingDetailWhereUniqueInput | ShippingDetailWhereUniqueInput[] No
delete ShippingDetailWhereUniqueInput | ShippingDetailWhereUniqueInput[] No
connect ShippingDetailWhereUniqueInput | ShippingDetailWhereUniqueInput[] No
update ShippingDetailUpdateWithWhereUniqueWithoutShippingAddressInput | ShippingDetailUpdateWithWhereUniqueWithoutShippingAddressInput[] No
updateMany ShippingDetailUpdateManyWithWhereWithoutShippingAddressInput | ShippingDetailUpdateManyWithWhereWithoutShippingAddressInput[] No
deleteMany ShippingDetailScalarWhereInput | ShippingDetailScalarWhereInput[] No

UserProfileCreateNestedOneWithoutSocialLinksInput

Name Type Nullable
create UserProfileCreateWithoutSocialLinksInput | UserProfileUncheckedCreateWithoutSocialLinksInput No
connectOrCreate UserProfileCreateOrConnectWithoutSocialLinksInput No
connect UserProfileWhereUniqueInput No


UserCreateNestedOneWithoutAuthoredReviewsInput

Name Type Nullable
create UserCreateWithoutAuthoredReviewsInput | UserUncheckedCreateWithoutAuthoredReviewsInput No
connectOrCreate UserCreateOrConnectWithoutAuthoredReviewsInput No
connect UserWhereUniqueInput No

ProductCreateNestedOneWithoutReviewsInput

Name Type Nullable
create ProductCreateWithoutReviewsInput | ProductUncheckedCreateWithoutReviewsInput No
connectOrCreate ProductCreateOrConnectWithoutReviewsInput No
connect ProductWhereUniqueInput No



CategoryCreateNestedOneWithoutPromotionCategoryInput

Name Type Nullable
create CategoryCreateWithoutPromotionCategoryInput | CategoryUncheckedCreateWithoutPromotionCategoryInput No
connectOrCreate CategoryCreateOrConnectWithoutPromotionCategoryInput No
connect CategoryWhereUniqueInput No

PromotionCreateNestedOneWithoutPromotionCategoryInput

Name Type Nullable
create PromotionCreateWithoutPromotionCategoryInput | PromotionUncheckedCreateWithoutPromotionCategoryInput No
connectOrCreate PromotionCreateOrConnectWithoutPromotionCategoryInput No
connect PromotionWhereUniqueInput No




CartItemCreateNestedOneWithoutPromotionInput

Name Type Nullable
create CartItemCreateWithoutPromotionInput | CartItemUncheckedCreateWithoutPromotionInput No
connectOrCreate CartItemCreateOrConnectWithoutPromotionInput No
connect CartItemWhereUniqueInput No


CartItemUncheckedCreateNestedOneWithoutPromotionInput

Name Type Nullable
create CartItemCreateWithoutPromotionInput | CartItemUncheckedCreateWithoutPromotionInput No
connectOrCreate CartItemCreateOrConnectWithoutPromotionInput No
connect CartItemWhereUniqueInput No

PromotionCategoryUpdateManyWithoutPromotionNestedInput

Name Type Nullable
create PromotionCategoryCreateWithoutPromotionInput | PromotionCategoryCreateWithoutPromotionInput[] | PromotionCategoryUncheckedCreateWithoutPromotionInput | PromotionCategoryUncheckedCreateWithoutPromotionInput[] No
connectOrCreate PromotionCategoryCreateOrConnectWithoutPromotionInput | PromotionCategoryCreateOrConnectWithoutPromotionInput[] No
upsert PromotionCategoryUpsertWithWhereUniqueWithoutPromotionInput | PromotionCategoryUpsertWithWhereUniqueWithoutPromotionInput[] No
createMany PromotionCategoryCreateManyPromotionInputEnvelope No
set PromotionCategoryWhereUniqueInput | PromotionCategoryWhereUniqueInput[] No
disconnect PromotionCategoryWhereUniqueInput | PromotionCategoryWhereUniqueInput[] No
delete PromotionCategoryWhereUniqueInput | PromotionCategoryWhereUniqueInput[] No
connect PromotionCategoryWhereUniqueInput | PromotionCategoryWhereUniqueInput[] No
update PromotionCategoryUpdateWithWhereUniqueWithoutPromotionInput | PromotionCategoryUpdateWithWhereUniqueWithoutPromotionInput[] No
updateMany PromotionCategoryUpdateManyWithWhereWithoutPromotionInput | PromotionCategoryUpdateManyWithWhereWithoutPromotionInput[] No
deleteMany PromotionCategoryScalarWhereInput | PromotionCategoryScalarWhereInput[] No


PromotionCategoryUncheckedUpdateManyWithoutPromotionNestedInput

Name Type Nullable
create PromotionCategoryCreateWithoutPromotionInput | PromotionCategoryCreateWithoutPromotionInput[] | PromotionCategoryUncheckedCreateWithoutPromotionInput | PromotionCategoryUncheckedCreateWithoutPromotionInput[] No
connectOrCreate PromotionCategoryCreateOrConnectWithoutPromotionInput | PromotionCategoryCreateOrConnectWithoutPromotionInput[] No
upsert PromotionCategoryUpsertWithWhereUniqueWithoutPromotionInput | PromotionCategoryUpsertWithWhereUniqueWithoutPromotionInput[] No
createMany PromotionCategoryCreateManyPromotionInputEnvelope No
set PromotionCategoryWhereUniqueInput | PromotionCategoryWhereUniqueInput[] No
disconnect PromotionCategoryWhereUniqueInput | PromotionCategoryWhereUniqueInput[] No
delete PromotionCategoryWhereUniqueInput | PromotionCategoryWhereUniqueInput[] No
connect PromotionCategoryWhereUniqueInput | PromotionCategoryWhereUniqueInput[] No
update PromotionCategoryUpdateWithWhereUniqueWithoutPromotionInput | PromotionCategoryUpdateWithWhereUniqueWithoutPromotionInput[] No
updateMany PromotionCategoryUpdateManyWithWhereWithoutPromotionInput | PromotionCategoryUpdateManyWithWhereWithoutPromotionInput[] No
deleteMany PromotionCategoryScalarWhereInput | PromotionCategoryScalarWhereInput[] No


CartCreateNestedOneWithoutCartItemsInput

Name Type Nullable
create CartCreateWithoutCartItemsInput | CartUncheckedCreateWithoutCartItemsInput No
connectOrCreate CartCreateOrConnectWithoutCartItemsInput No
connect CartWhereUniqueInput No

ProductCreateNestedOneWithoutCartItemInput

Name Type Nullable
create ProductCreateWithoutCartItemInput | ProductUncheckedCreateWithoutCartItemInput No
connectOrCreate ProductCreateOrConnectWithoutCartItemInput No
connect ProductWhereUniqueInput No

PromotionCreateNestedOneWithoutCartItemInput

Name Type Nullable
create PromotionCreateWithoutCartItemInput | PromotionUncheckedCreateWithoutCartItemInput No
connectOrCreate PromotionCreateOrConnectWithoutCartItemInput No
connect PromotionWhereUniqueInput No




UserCreateNestedOneWithoutCartInput

Name Type Nullable
create UserCreateWithoutCartInput | UserUncheckedCreateWithoutCartInput No
connectOrCreate UserCreateOrConnectWithoutCartInput No
connect UserWhereUniqueInput No




CartItemUpdateManyWithoutCartNestedInput

Name Type Nullable
create CartItemCreateWithoutCartInput | CartItemCreateWithoutCartInput[] | CartItemUncheckedCreateWithoutCartInput | CartItemUncheckedCreateWithoutCartInput[] No
connectOrCreate CartItemCreateOrConnectWithoutCartInput | CartItemCreateOrConnectWithoutCartInput[] No
upsert CartItemUpsertWithWhereUniqueWithoutCartInput | CartItemUpsertWithWhereUniqueWithoutCartInput[] No
createMany CartItemCreateManyCartInputEnvelope No
set CartItemWhereUniqueInput | CartItemWhereUniqueInput[] No
disconnect CartItemWhereUniqueInput | CartItemWhereUniqueInput[] No
delete CartItemWhereUniqueInput | CartItemWhereUniqueInput[] No
connect CartItemWhereUniqueInput | CartItemWhereUniqueInput[] No
update CartItemUpdateWithWhereUniqueWithoutCartInput | CartItemUpdateWithWhereUniqueWithoutCartInput[] No
updateMany CartItemUpdateManyWithWhereWithoutCartInput | CartItemUpdateManyWithWhereWithoutCartInput[] No
deleteMany CartItemScalarWhereInput | CartItemScalarWhereInput[] No

CartItemUncheckedUpdateManyWithoutCartNestedInput

Name Type Nullable
create CartItemCreateWithoutCartInput | CartItemCreateWithoutCartInput[] | CartItemUncheckedCreateWithoutCartInput | CartItemUncheckedCreateWithoutCartInput[] No
connectOrCreate CartItemCreateOrConnectWithoutCartInput | CartItemCreateOrConnectWithoutCartInput[] No
upsert CartItemUpsertWithWhereUniqueWithoutCartInput | CartItemUpsertWithWhereUniqueWithoutCartInput[] No
createMany CartItemCreateManyCartInputEnvelope No
set CartItemWhereUniqueInput | CartItemWhereUniqueInput[] No
disconnect CartItemWhereUniqueInput | CartItemWhereUniqueInput[] No
delete CartItemWhereUniqueInput | CartItemWhereUniqueInput[] No
connect CartItemWhereUniqueInput | CartItemWhereUniqueInput[] No
update CartItemUpdateWithWhereUniqueWithoutCartInput | CartItemUpdateWithWhereUniqueWithoutCartInput[] No
updateMany CartItemUpdateManyWithWhereWithoutCartInput | CartItemUpdateManyWithWhereWithoutCartInput[] No
deleteMany CartItemScalarWhereInput | CartItemScalarWhereInput[] No

UserCreateNestedOneWithoutOrdersInput

Name Type Nullable
create UserCreateWithoutOrdersInput | UserUncheckedCreateWithoutOrdersInput No
connectOrCreate UserCreateOrConnectWithoutOrdersInput No
connect UserWhereUniqueInput No

ShippingDetailCreateNestedOneWithoutOrderInput

Name Type Nullable
create ShippingDetailCreateWithoutOrderInput | ShippingDetailUncheckedCreateWithoutOrderInput No
connectOrCreate ShippingDetailCreateOrConnectWithoutOrderInput No
connect ShippingDetailWhereUniqueInput No

PaymentDetailCreateNestedOneWithoutOrderInput

Name Type Nullable
create PaymentDetailCreateWithoutOrderInput | PaymentDetailUncheckedCreateWithoutOrderInput No
connectOrCreate PaymentDetailCreateOrConnectWithoutOrderInput No
connect PaymentDetailWhereUniqueInput No


ShippingDetailUncheckedCreateNestedOneWithoutOrderInput

Name Type Nullable
create ShippingDetailCreateWithoutOrderInput | ShippingDetailUncheckedCreateWithoutOrderInput No
connectOrCreate ShippingDetailCreateOrConnectWithoutOrderInput No
connect ShippingDetailWhereUniqueInput No

PaymentDetailUncheckedCreateNestedOneWithoutOrderInput

Name Type Nullable
create PaymentDetailCreateWithoutOrderInput | PaymentDetailUncheckedCreateWithoutOrderInput No
connectOrCreate PaymentDetailCreateOrConnectWithoutOrderInput No
connect PaymentDetailWhereUniqueInput No


EnumOrderStatusTypeFieldUpdateOperationsInput

Name Type Nullable
set OrderStatusType No




OrderDetailUpdateManyWithoutOrderNestedInput

Name Type Nullable
create OrderDetailCreateWithoutOrderInput | OrderDetailCreateWithoutOrderInput[] | OrderDetailUncheckedCreateWithoutOrderInput | OrderDetailUncheckedCreateWithoutOrderInput[] No
connectOrCreate OrderDetailCreateOrConnectWithoutOrderInput | OrderDetailCreateOrConnectWithoutOrderInput[] No
upsert OrderDetailUpsertWithWhereUniqueWithoutOrderInput | OrderDetailUpsertWithWhereUniqueWithoutOrderInput[] No
createMany OrderDetailCreateManyOrderInputEnvelope No
set OrderDetailWhereUniqueInput | OrderDetailWhereUniqueInput[] No
disconnect OrderDetailWhereUniqueInput | OrderDetailWhereUniqueInput[] No
delete OrderDetailWhereUniqueInput | OrderDetailWhereUniqueInput[] No
connect OrderDetailWhereUniqueInput | OrderDetailWhereUniqueInput[] No
update OrderDetailUpdateWithWhereUniqueWithoutOrderInput | OrderDetailUpdateWithWhereUniqueWithoutOrderInput[] No
updateMany OrderDetailUpdateManyWithWhereWithoutOrderInput | OrderDetailUpdateManyWithWhereWithoutOrderInput[] No
deleteMany OrderDetailScalarWhereInput | OrderDetailScalarWhereInput[] No



OrderDetailUncheckedUpdateManyWithoutOrderNestedInput

Name Type Nullable
create OrderDetailCreateWithoutOrderInput | OrderDetailCreateWithoutOrderInput[] | OrderDetailUncheckedCreateWithoutOrderInput | OrderDetailUncheckedCreateWithoutOrderInput[] No
connectOrCreate OrderDetailCreateOrConnectWithoutOrderInput | OrderDetailCreateOrConnectWithoutOrderInput[] No
upsert OrderDetailUpsertWithWhereUniqueWithoutOrderInput | OrderDetailUpsertWithWhereUniqueWithoutOrderInput[] No
createMany OrderDetailCreateManyOrderInputEnvelope No
set OrderDetailWhereUniqueInput | OrderDetailWhereUniqueInput[] No
disconnect OrderDetailWhereUniqueInput | OrderDetailWhereUniqueInput[] No
delete OrderDetailWhereUniqueInput | OrderDetailWhereUniqueInput[] No
connect OrderDetailWhereUniqueInput | OrderDetailWhereUniqueInput[] No
update OrderDetailUpdateWithWhereUniqueWithoutOrderInput | OrderDetailUpdateWithWhereUniqueWithoutOrderInput[] No
updateMany OrderDetailUpdateManyWithWhereWithoutOrderInput | OrderDetailUpdateManyWithWhereWithoutOrderInput[] No
deleteMany OrderDetailScalarWhereInput | OrderDetailScalarWhereInput[] No

ProductCreateNestedOneWithoutOrderDetailInput

Name Type Nullable
create ProductCreateWithoutOrderDetailInput | ProductUncheckedCreateWithoutOrderDetailInput No
connectOrCreate ProductCreateOrConnectWithoutOrderDetailInput No
connect ProductWhereUniqueInput No

OrderCreateNestedOneWithoutOrderDetailInput

Name Type Nullable
create OrderCreateWithoutOrderDetailInput | OrderUncheckedCreateWithoutOrderDetailInput No
connectOrCreate OrderCreateOrConnectWithoutOrderDetailInput No
connect OrderWhereUniqueInput No




AddressCreateNestedOneWithoutPaymentDetailInput

Name Type Nullable
create AddressCreateWithoutPaymentDetailInput | AddressUncheckedCreateWithoutPaymentDetailInput No
connectOrCreate AddressCreateOrConnectWithoutPaymentDetailInput No
connect AddressWhereUniqueInput No

OrderCreateNestedOneWithoutPaymentDetailInput

Name Type Nullable
create OrderCreateWithoutPaymentDetailInput | OrderUncheckedCreateWithoutPaymentDetailInput No
connectOrCreate OrderCreateOrConnectWithoutPaymentDetailInput No
connect OrderWhereUniqueInput No


PaymentMethodUpdateManyWithoutPaymentDetailNestedInput

Name Type Nullable
create PaymentMethodCreateWithoutPaymentDetailInput | PaymentMethodCreateWithoutPaymentDetailInput[] | PaymentMethodUncheckedCreateWithoutPaymentDetailInput | PaymentMethodUncheckedCreateWithoutPaymentDetailInput[] No
connectOrCreate PaymentMethodCreateOrConnectWithoutPaymentDetailInput | PaymentMethodCreateOrConnectWithoutPaymentDetailInput[] No
upsert PaymentMethodUpsertWithWhereUniqueWithoutPaymentDetailInput | PaymentMethodUpsertWithWhereUniqueWithoutPaymentDetailInput[] No
createMany PaymentMethodCreateManyPaymentDetailInputEnvelope No
set PaymentMethodWhereUniqueInput | PaymentMethodWhereUniqueInput[] No
disconnect PaymentMethodWhereUniqueInput | PaymentMethodWhereUniqueInput[] No
delete PaymentMethodWhereUniqueInput | PaymentMethodWhereUniqueInput[] No
connect PaymentMethodWhereUniqueInput | PaymentMethodWhereUniqueInput[] No
update PaymentMethodUpdateWithWhereUniqueWithoutPaymentDetailInput | PaymentMethodUpdateWithWhereUniqueWithoutPaymentDetailInput[] No
updateMany PaymentMethodUpdateManyWithWhereWithoutPaymentDetailInput | PaymentMethodUpdateManyWithWhereWithoutPaymentDetailInput[] No
deleteMany PaymentMethodScalarWhereInput | PaymentMethodScalarWhereInput[] No



PaymentMethodUncheckedUpdateManyWithoutPaymentDetailNestedInput

Name Type Nullable
create PaymentMethodCreateWithoutPaymentDetailInput | PaymentMethodCreateWithoutPaymentDetailInput[] | PaymentMethodUncheckedCreateWithoutPaymentDetailInput | PaymentMethodUncheckedCreateWithoutPaymentDetailInput[] No
connectOrCreate PaymentMethodCreateOrConnectWithoutPaymentDetailInput | PaymentMethodCreateOrConnectWithoutPaymentDetailInput[] No
upsert PaymentMethodUpsertWithWhereUniqueWithoutPaymentDetailInput | PaymentMethodUpsertWithWhereUniqueWithoutPaymentDetailInput[] No
createMany PaymentMethodCreateManyPaymentDetailInputEnvelope No
set PaymentMethodWhereUniqueInput | PaymentMethodWhereUniqueInput[] No
disconnect PaymentMethodWhereUniqueInput | PaymentMethodWhereUniqueInput[] No
delete PaymentMethodWhereUniqueInput | PaymentMethodWhereUniqueInput[] No
connect PaymentMethodWhereUniqueInput | PaymentMethodWhereUniqueInput[] No
update PaymentMethodUpdateWithWhereUniqueWithoutPaymentDetailInput | PaymentMethodUpdateWithWhereUniqueWithoutPaymentDetailInput[] No
updateMany PaymentMethodUpdateManyWithWhereWithoutPaymentDetailInput | PaymentMethodUpdateManyWithWhereWithoutPaymentDetailInput[] No
deleteMany PaymentMethodScalarWhereInput | PaymentMethodScalarWhereInput[] No



EnumPaymentTypeFieldUpdateOperationsInput

Name Type Nullable
set PaymentType No

PaymentMethodUpdateManyWithoutPaymentOptionNestedInput

Name Type Nullable
create PaymentMethodCreateWithoutPaymentOptionInput | PaymentMethodCreateWithoutPaymentOptionInput[] | PaymentMethodUncheckedCreateWithoutPaymentOptionInput | PaymentMethodUncheckedCreateWithoutPaymentOptionInput[] No
connectOrCreate PaymentMethodCreateOrConnectWithoutPaymentOptionInput | PaymentMethodCreateOrConnectWithoutPaymentOptionInput[] No
upsert PaymentMethodUpsertWithWhereUniqueWithoutPaymentOptionInput | PaymentMethodUpsertWithWhereUniqueWithoutPaymentOptionInput[] No
createMany PaymentMethodCreateManyPaymentOptionInputEnvelope No
set PaymentMethodWhereUniqueInput | PaymentMethodWhereUniqueInput[] No
disconnect PaymentMethodWhereUniqueInput | PaymentMethodWhereUniqueInput[] No
delete PaymentMethodWhereUniqueInput | PaymentMethodWhereUniqueInput[] No
connect PaymentMethodWhereUniqueInput | PaymentMethodWhereUniqueInput[] No
update PaymentMethodUpdateWithWhereUniqueWithoutPaymentOptionInput | PaymentMethodUpdateWithWhereUniqueWithoutPaymentOptionInput[] No
updateMany PaymentMethodUpdateManyWithWhereWithoutPaymentOptionInput | PaymentMethodUpdateManyWithWhereWithoutPaymentOptionInput[] No
deleteMany PaymentMethodScalarWhereInput | PaymentMethodScalarWhereInput[] No

PaymentMethodUncheckedUpdateManyWithoutPaymentOptionNestedInput

Name Type Nullable
create PaymentMethodCreateWithoutPaymentOptionInput | PaymentMethodCreateWithoutPaymentOptionInput[] | PaymentMethodUncheckedCreateWithoutPaymentOptionInput | PaymentMethodUncheckedCreateWithoutPaymentOptionInput[] No
connectOrCreate PaymentMethodCreateOrConnectWithoutPaymentOptionInput | PaymentMethodCreateOrConnectWithoutPaymentOptionInput[] No
upsert PaymentMethodUpsertWithWhereUniqueWithoutPaymentOptionInput | PaymentMethodUpsertWithWhereUniqueWithoutPaymentOptionInput[] No
createMany PaymentMethodCreateManyPaymentOptionInputEnvelope No
set PaymentMethodWhereUniqueInput | PaymentMethodWhereUniqueInput[] No
disconnect PaymentMethodWhereUniqueInput | PaymentMethodWhereUniqueInput[] No
delete PaymentMethodWhereUniqueInput | PaymentMethodWhereUniqueInput[] No
connect PaymentMethodWhereUniqueInput | PaymentMethodWhereUniqueInput[] No
update PaymentMethodUpdateWithWhereUniqueWithoutPaymentOptionInput | PaymentMethodUpdateWithWhereUniqueWithoutPaymentOptionInput[] No
updateMany PaymentMethodUpdateManyWithWhereWithoutPaymentOptionInput | PaymentMethodUpdateManyWithWhereWithoutPaymentOptionInput[] No
deleteMany PaymentMethodScalarWhereInput | PaymentMethodScalarWhereInput[] No

UserCreateNestedOneWithoutPaymentMethodInput

Name Type Nullable
create UserCreateWithoutPaymentMethodInput | UserUncheckedCreateWithoutPaymentMethodInput No
connectOrCreate UserCreateOrConnectWithoutPaymentMethodInput No
connect UserWhereUniqueInput No

PaymentDetailCreateNestedOneWithoutPaymentMethodInput

Name Type Nullable
create PaymentDetailCreateWithoutPaymentMethodInput | PaymentDetailUncheckedCreateWithoutPaymentMethodInput No
connectOrCreate PaymentDetailCreateOrConnectWithoutPaymentMethodInput No
connect PaymentDetailWhereUniqueInput No

PaymentOptionCreateNestedOneWithoutPaymentMethodInput

Name Type Nullable
create PaymentOptionCreateWithoutPaymentMethodInput | PaymentOptionUncheckedCreateWithoutPaymentMethodInput No
connectOrCreate PaymentOptionCreateOrConnectWithoutPaymentMethodInput No
connect PaymentOptionWhereUniqueInput No




AddressCreateNestedOneWithoutShippingDetailInput

Name Type Nullable
create AddressCreateWithoutShippingDetailInput | AddressUncheckedCreateWithoutShippingDetailInput No
connectOrCreate AddressCreateOrConnectWithoutShippingDetailInput No
connect AddressWhereUniqueInput No


OrderCreateNestedOneWithoutShippingDetailInput

Name Type Nullable
create OrderCreateWithoutShippingDetailInput | OrderUncheckedCreateWithoutShippingDetailInput No
connectOrCreate OrderCreateOrConnectWithoutShippingDetailInput No
connect OrderWhereUniqueInput No






ShippingDetailUpdateManyWithoutShippingMethodNestedInput

Name Type Nullable
create ShippingDetailCreateWithoutShippingMethodInput | ShippingDetailCreateWithoutShippingMethodInput[] | ShippingDetailUncheckedCreateWithoutShippingMethodInput | ShippingDetailUncheckedCreateWithoutShippingMethodInput[] No
connectOrCreate ShippingDetailCreateOrConnectWithoutShippingMethodInput | ShippingDetailCreateOrConnectWithoutShippingMethodInput[] No
upsert ShippingDetailUpsertWithWhereUniqueWithoutShippingMethodInput | ShippingDetailUpsertWithWhereUniqueWithoutShippingMethodInput[] No
createMany ShippingDetailCreateManyShippingMethodInputEnvelope No
set ShippingDetailWhereUniqueInput | ShippingDetailWhereUniqueInput[] No
disconnect ShippingDetailWhereUniqueInput | ShippingDetailWhereUniqueInput[] No
delete ShippingDetailWhereUniqueInput | ShippingDetailWhereUniqueInput[] No
connect ShippingDetailWhereUniqueInput | ShippingDetailWhereUniqueInput[] No
update ShippingDetailUpdateWithWhereUniqueWithoutShippingMethodInput | ShippingDetailUpdateWithWhereUniqueWithoutShippingMethodInput[] No
updateMany ShippingDetailUpdateManyWithWhereWithoutShippingMethodInput | ShippingDetailUpdateManyWithWhereWithoutShippingMethodInput[] No
deleteMany ShippingDetailScalarWhereInput | ShippingDetailScalarWhereInput[] No

ShippingDetailUncheckedUpdateManyWithoutShippingMethodNestedInput

Name Type Nullable
create ShippingDetailCreateWithoutShippingMethodInput | ShippingDetailCreateWithoutShippingMethodInput[] | ShippingDetailUncheckedCreateWithoutShippingMethodInput | ShippingDetailUncheckedCreateWithoutShippingMethodInput[] No
connectOrCreate ShippingDetailCreateOrConnectWithoutShippingMethodInput | ShippingDetailCreateOrConnectWithoutShippingMethodInput[] No
upsert ShippingDetailUpsertWithWhereUniqueWithoutShippingMethodInput | ShippingDetailUpsertWithWhereUniqueWithoutShippingMethodInput[] No
createMany ShippingDetailCreateManyShippingMethodInputEnvelope No
set ShippingDetailWhereUniqueInput | ShippingDetailWhereUniqueInput[] No
disconnect ShippingDetailWhereUniqueInput | ShippingDetailWhereUniqueInput[] No
delete ShippingDetailWhereUniqueInput | ShippingDetailWhereUniqueInput[] No
connect ShippingDetailWhereUniqueInput | ShippingDetailWhereUniqueInput[] No
update ShippingDetailUpdateWithWhereUniqueWithoutShippingMethodInput | ShippingDetailUpdateWithWhereUniqueWithoutShippingMethodInput[] No
updateMany ShippingDetailUpdateManyWithWhereWithoutShippingMethodInput | ShippingDetailUpdateManyWithWhereWithoutShippingMethodInput[] No
deleteMany ShippingDetailScalarWhereInput | ShippingDetailScalarWhereInput[] No

UserCreateNestedOneWithoutRolesInput

Name Type Nullable
create UserCreateWithoutRolesInput | UserUncheckedCreateWithoutRolesInput No
connectOrCreate UserCreateOrConnectWithoutRolesInput No
connect UserWhereUniqueInput No

RoleCreateNestedOneWithoutUsersInput

Name Type Nullable
create RoleCreateWithoutUsersInput | RoleUncheckedCreateWithoutUsersInput No
connectOrCreate RoleCreateOrConnectWithoutUsersInput No
connect RoleWhereUniqueInput No







UserRoleUpdateManyWithoutRoleNestedInput

Name Type Nullable
create UserRoleCreateWithoutRoleInput | UserRoleCreateWithoutRoleInput[] | UserRoleUncheckedCreateWithoutRoleInput | UserRoleUncheckedCreateWithoutRoleInput[] No
connectOrCreate UserRoleCreateOrConnectWithoutRoleInput | UserRoleCreateOrConnectWithoutRoleInput[] No
upsert UserRoleUpsertWithWhereUniqueWithoutRoleInput | UserRoleUpsertWithWhereUniqueWithoutRoleInput[] No
createMany UserRoleCreateManyRoleInputEnvelope No
set UserRoleWhereUniqueInput | UserRoleWhereUniqueInput[] No
disconnect UserRoleWhereUniqueInput | UserRoleWhereUniqueInput[] No
delete UserRoleWhereUniqueInput | UserRoleWhereUniqueInput[] No
connect UserRoleWhereUniqueInput | UserRoleWhereUniqueInput[] No
update UserRoleUpdateWithWhereUniqueWithoutRoleInput | UserRoleUpdateWithWhereUniqueWithoutRoleInput[] No
updateMany UserRoleUpdateManyWithWhereWithoutRoleInput | UserRoleUpdateManyWithWhereWithoutRoleInput[] No
deleteMany UserRoleScalarWhereInput | UserRoleScalarWhereInput[] No

RolePermissionUpdateManyWithoutRoleNestedInput

Name Type Nullable
create RolePermissionCreateWithoutRoleInput | RolePermissionCreateWithoutRoleInput[] | RolePermissionUncheckedCreateWithoutRoleInput | RolePermissionUncheckedCreateWithoutRoleInput[] No
connectOrCreate RolePermissionCreateOrConnectWithoutRoleInput | RolePermissionCreateOrConnectWithoutRoleInput[] No
upsert RolePermissionUpsertWithWhereUniqueWithoutRoleInput | RolePermissionUpsertWithWhereUniqueWithoutRoleInput[] No
createMany RolePermissionCreateManyRoleInputEnvelope No
set RolePermissionWhereUniqueInput | RolePermissionWhereUniqueInput[] No
disconnect RolePermissionWhereUniqueInput | RolePermissionWhereUniqueInput[] No
delete RolePermissionWhereUniqueInput | RolePermissionWhereUniqueInput[] No
connect RolePermissionWhereUniqueInput | RolePermissionWhereUniqueInput[] No
update RolePermissionUpdateWithWhereUniqueWithoutRoleInput | RolePermissionUpdateWithWhereUniqueWithoutRoleInput[] No
updateMany RolePermissionUpdateManyWithWhereWithoutRoleInput | RolePermissionUpdateManyWithWhereWithoutRoleInput[] No
deleteMany RolePermissionScalarWhereInput | RolePermissionScalarWhereInput[] No

UserRoleUncheckedUpdateManyWithoutRoleNestedInput

Name Type Nullable
create UserRoleCreateWithoutRoleInput | UserRoleCreateWithoutRoleInput[] | UserRoleUncheckedCreateWithoutRoleInput | UserRoleUncheckedCreateWithoutRoleInput[] No
connectOrCreate UserRoleCreateOrConnectWithoutRoleInput | UserRoleCreateOrConnectWithoutRoleInput[] No
upsert UserRoleUpsertWithWhereUniqueWithoutRoleInput | UserRoleUpsertWithWhereUniqueWithoutRoleInput[] No
createMany UserRoleCreateManyRoleInputEnvelope No
set UserRoleWhereUniqueInput | UserRoleWhereUniqueInput[] No
disconnect UserRoleWhereUniqueInput | UserRoleWhereUniqueInput[] No
delete UserRoleWhereUniqueInput | UserRoleWhereUniqueInput[] No
connect UserRoleWhereUniqueInput | UserRoleWhereUniqueInput[] No
update UserRoleUpdateWithWhereUniqueWithoutRoleInput | UserRoleUpdateWithWhereUniqueWithoutRoleInput[] No
updateMany UserRoleUpdateManyWithWhereWithoutRoleInput | UserRoleUpdateManyWithWhereWithoutRoleInput[] No
deleteMany UserRoleScalarWhereInput | UserRoleScalarWhereInput[] No

RolePermissionUncheckedUpdateManyWithoutRoleNestedInput

Name Type Nullable
create RolePermissionCreateWithoutRoleInput | RolePermissionCreateWithoutRoleInput[] | RolePermissionUncheckedCreateWithoutRoleInput | RolePermissionUncheckedCreateWithoutRoleInput[] No
connectOrCreate RolePermissionCreateOrConnectWithoutRoleInput | RolePermissionCreateOrConnectWithoutRoleInput[] No
upsert RolePermissionUpsertWithWhereUniqueWithoutRoleInput | RolePermissionUpsertWithWhereUniqueWithoutRoleInput[] No
createMany RolePermissionCreateManyRoleInputEnvelope No
set RolePermissionWhereUniqueInput | RolePermissionWhereUniqueInput[] No
disconnect RolePermissionWhereUniqueInput | RolePermissionWhereUniqueInput[] No
delete RolePermissionWhereUniqueInput | RolePermissionWhereUniqueInput[] No
connect RolePermissionWhereUniqueInput | RolePermissionWhereUniqueInput[] No
update RolePermissionUpdateWithWhereUniqueWithoutRoleInput | RolePermissionUpdateWithWhereUniqueWithoutRoleInput[] No
updateMany RolePermissionUpdateManyWithWhereWithoutRoleInput | RolePermissionUpdateManyWithWhereWithoutRoleInput[] No
deleteMany RolePermissionScalarWhereInput | RolePermissionScalarWhereInput[] No

RoleCreateNestedOneWithoutPermissionsInput

Name Type Nullable
create RoleCreateWithoutPermissionsInput | RoleUncheckedCreateWithoutPermissionsInput No
connectOrCreate RoleCreateOrConnectWithoutPermissionsInput No
connect RoleWhereUniqueInput No

PermissionCreateNestedOneWithoutRolesInput

Name Type Nullable
create PermissionCreateWithoutRolesInput | PermissionUncheckedCreateWithoutRolesInput No
connectOrCreate PermissionCreateOrConnectWithoutRolesInput No
connect PermissionWhereUniqueInput No





EnumAccessTypeFieldUpdateOperationsInput

Name Type Nullable
set AccessType No

RolePermissionUpdateManyWithoutPermissionNestedInput

Name Type Nullable
create RolePermissionCreateWithoutPermissionInput | RolePermissionCreateWithoutPermissionInput[] | RolePermissionUncheckedCreateWithoutPermissionInput | RolePermissionUncheckedCreateWithoutPermissionInput[] No
connectOrCreate RolePermissionCreateOrConnectWithoutPermissionInput | RolePermissionCreateOrConnectWithoutPermissionInput[] No
upsert RolePermissionUpsertWithWhereUniqueWithoutPermissionInput | RolePermissionUpsertWithWhereUniqueWithoutPermissionInput[] No
createMany RolePermissionCreateManyPermissionInputEnvelope No
set RolePermissionWhereUniqueInput | RolePermissionWhereUniqueInput[] No
disconnect RolePermissionWhereUniqueInput | RolePermissionWhereUniqueInput[] No
delete RolePermissionWhereUniqueInput | RolePermissionWhereUniqueInput[] No
connect RolePermissionWhereUniqueInput | RolePermissionWhereUniqueInput[] No
update RolePermissionUpdateWithWhereUniqueWithoutPermissionInput | RolePermissionUpdateWithWhereUniqueWithoutPermissionInput[] No
updateMany RolePermissionUpdateManyWithWhereWithoutPermissionInput | RolePermissionUpdateManyWithWhereWithoutPermissionInput[] No
deleteMany RolePermissionScalarWhereInput | RolePermissionScalarWhereInput[] No

RolePermissionUncheckedUpdateManyWithoutPermissionNestedInput

Name Type Nullable
create RolePermissionCreateWithoutPermissionInput | RolePermissionCreateWithoutPermissionInput[] | RolePermissionUncheckedCreateWithoutPermissionInput | RolePermissionUncheckedCreateWithoutPermissionInput[] No
connectOrCreate RolePermissionCreateOrConnectWithoutPermissionInput | RolePermissionCreateOrConnectWithoutPermissionInput[] No
upsert RolePermissionUpsertWithWhereUniqueWithoutPermissionInput | RolePermissionUpsertWithWhereUniqueWithoutPermissionInput[] No
createMany RolePermissionCreateManyPermissionInputEnvelope No
set RolePermissionWhereUniqueInput | RolePermissionWhereUniqueInput[] No
disconnect RolePermissionWhereUniqueInput | RolePermissionWhereUniqueInput[] No
delete RolePermissionWhereUniqueInput | RolePermissionWhereUniqueInput[] No
connect RolePermissionWhereUniqueInput | RolePermissionWhereUniqueInput[] No
update RolePermissionUpdateWithWhereUniqueWithoutPermissionInput | RolePermissionUpdateWithWhereUniqueWithoutPermissionInput[] No
updateMany RolePermissionUpdateManyWithWhereWithoutPermissionInput | RolePermissionUpdateManyWithWhereWithoutPermissionInput[] No
deleteMany RolePermissionScalarWhereInput | RolePermissionScalarWhereInput[] No

NestedIntFilter

Name Type Nullable
equals Int | IntFieldRefInput No
in Int | ListIntFieldRefInput No
notIn Int | ListIntFieldRefInput No
lt Int | IntFieldRefInput No
lte Int | IntFieldRefInput No
gt Int | IntFieldRefInput No
gte Int | IntFieldRefInput No
not Int | NestedIntFilter No

NestedStringFilter

Name Type Nullable
equals String | StringFieldRefInput No
in String | ListStringFieldRefInput No
notIn String | ListStringFieldRefInput No
lt String | StringFieldRefInput No
lte String | StringFieldRefInput No
gt String | StringFieldRefInput No
gte String | StringFieldRefInput No
contains String | StringFieldRefInput No
startsWith String | StringFieldRefInput No
endsWith String | StringFieldRefInput No
not String | NestedStringFilter No

NestedStringNullableFilter

Name Type Nullable
equals String | StringFieldRefInput | Null Yes
in String | ListStringFieldRefInput | Null Yes
notIn String | ListStringFieldRefInput | Null Yes
lt String | StringFieldRefInput No
lte String | StringFieldRefInput No
gt String | StringFieldRefInput No
gte String | StringFieldRefInput No
contains String | StringFieldRefInput No
startsWith String | StringFieldRefInput No
endsWith String | StringFieldRefInput No
not String | NestedStringNullableFilter | Null Yes

NestedEnumGradeNullableFilter

Name Type Nullable
equals Grade | EnumGradeFieldRefInput | Null Yes
in Grade[] | ListEnumGradeFieldRefInput | Null Yes
notIn Grade[] | ListEnumGradeFieldRefInput | Null Yes
not Grade | NestedEnumGradeNullableFilter | Null Yes


NestedDecimalNullableFilter

Name Type Nullable
equals Decimal | DecimalFieldRefInput | Null Yes
in Decimal[] | ListDecimalFieldRefInput | Null Yes
notIn Decimal[] | ListDecimalFieldRefInput | Null Yes
lt Decimal | DecimalFieldRefInput No
lte Decimal | DecimalFieldRefInput No
gt Decimal | DecimalFieldRefInput No
gte Decimal | DecimalFieldRefInput No
not Decimal | NestedDecimalNullableFilter | Null Yes

NestedIntNullableFilter

Name Type Nullable
equals Int | IntFieldRefInput | Null Yes
in Int | ListIntFieldRefInput | Null Yes
notIn Int | ListIntFieldRefInput | Null Yes
lt Int | IntFieldRefInput No
lte Int | IntFieldRefInput No
gt Int | IntFieldRefInput No
gte Int | IntFieldRefInput No
not Int | NestedIntNullableFilter | Null Yes

NestedBoolNullableFilter

Name Type Nullable
equals Boolean | BooleanFieldRefInput | Null Yes
not Boolean | NestedBoolNullableFilter | Null Yes

NestedDateTimeFilter

Name Type Nullable
equals DateTime | DateTimeFieldRefInput No
in DateTime | ListDateTimeFieldRefInput No
notIn DateTime | ListDateTimeFieldRefInput No
lt DateTime | DateTimeFieldRefInput No
lte DateTime | DateTimeFieldRefInput No
gt DateTime | DateTimeFieldRefInput No
gte DateTime | DateTimeFieldRefInput No
not DateTime | NestedDateTimeFilter No

NestedIntWithAggregatesFilter

Name Type Nullable
equals Int | IntFieldRefInput No
in Int | ListIntFieldRefInput No
notIn Int | ListIntFieldRefInput No
lt Int | IntFieldRefInput No
lte Int | IntFieldRefInput No
gt Int | IntFieldRefInput No
gte Int | IntFieldRefInput No
not Int | NestedIntWithAggregatesFilter No
_count NestedIntFilter No
_avg NestedFloatFilter No
_sum NestedIntFilter No
_min NestedIntFilter No
_max NestedIntFilter No

NestedFloatFilter

Name Type Nullable
equals Float | FloatFieldRefInput No
in Float | ListFloatFieldRefInput No
notIn Float | ListFloatFieldRefInput No
lt Float | FloatFieldRefInput No
lte Float | FloatFieldRefInput No
gt Float | FloatFieldRefInput No
gte Float | FloatFieldRefInput No
not Float | NestedFloatFilter No

NestedStringWithAggregatesFilter

Name Type Nullable
equals String | StringFieldRefInput No
in String | ListStringFieldRefInput No
notIn String | ListStringFieldRefInput No
lt String | StringFieldRefInput No
lte String | StringFieldRefInput No
gt String | StringFieldRefInput No
gte String | StringFieldRefInput No
contains String | StringFieldRefInput No
startsWith String | StringFieldRefInput No
endsWith String | StringFieldRefInput No
not String | NestedStringWithAggregatesFilter No
_count NestedIntFilter No
_min NestedStringFilter No
_max NestedStringFilter No

NestedStringNullableWithAggregatesFilter

Name Type Nullable
equals String | StringFieldRefInput | Null Yes
in String | ListStringFieldRefInput | Null Yes
notIn String | ListStringFieldRefInput | Null Yes
lt String | StringFieldRefInput No
lte String | StringFieldRefInput No
gt String | StringFieldRefInput No
gte String | StringFieldRefInput No
contains String | StringFieldRefInput No
startsWith String | StringFieldRefInput No
endsWith String | StringFieldRefInput No
not String | NestedStringNullableWithAggregatesFilter | Null Yes
_count NestedIntNullableFilter No
_min NestedStringNullableFilter No
_max NestedStringNullableFilter No

NestedEnumGradeNullableWithAggregatesFilter

Name Type Nullable
equals Grade | EnumGradeFieldRefInput | Null Yes
in Grade[] | ListEnumGradeFieldRefInput | Null Yes
notIn Grade[] | ListEnumGradeFieldRefInput | Null Yes
not Grade | NestedEnumGradeNullableWithAggregatesFilter | Null Yes
_count NestedIntNullableFilter No
_min NestedEnumGradeNullableFilter No
_max NestedEnumGradeNullableFilter No



NestedJsonNullableFilter

Name Type Nullable
equals Json | JsonFieldRefInput | JsonNullValueFilter No
path String No
string_contains String | StringFieldRefInput No
string_starts_with String | StringFieldRefInput No
string_ends_with String | StringFieldRefInput No
array_contains Json | JsonFieldRefInput | Null Yes
array_starts_with Json | JsonFieldRefInput | Null Yes
array_ends_with Json | JsonFieldRefInput | Null Yes
lt Json | JsonFieldRefInput No
lte Json | JsonFieldRefInput No
gt Json | JsonFieldRefInput No
gte Json | JsonFieldRefInput No
not Json | JsonFieldRefInput | JsonNullValueFilter No

NestedIntNullableWithAggregatesFilter

Name Type Nullable
equals Int | IntFieldRefInput | Null Yes
in Int | ListIntFieldRefInput | Null Yes
notIn Int | ListIntFieldRefInput | Null Yes
lt Int | IntFieldRefInput No
lte Int | IntFieldRefInput No
gt Int | IntFieldRefInput No
gte Int | IntFieldRefInput No
not Int | NestedIntNullableWithAggregatesFilter | Null Yes
_count NestedIntNullableFilter No
_avg NestedFloatNullableFilter No
_sum NestedIntNullableFilter No
_min NestedIntNullableFilter No
_max NestedIntNullableFilter No

NestedFloatNullableFilter

Name Type Nullable
equals Float | FloatFieldRefInput | Null Yes
in Float | ListFloatFieldRefInput | Null Yes
notIn Float | ListFloatFieldRefInput | Null Yes
lt Float | FloatFieldRefInput No
lte Float | FloatFieldRefInput No
gt Float | FloatFieldRefInput No
gte Float | FloatFieldRefInput No
not Float | NestedFloatNullableFilter | Null Yes

NestedBoolNullableWithAggregatesFilter

Name Type Nullable
equals Boolean | BooleanFieldRefInput | Null Yes
not Boolean | NestedBoolNullableWithAggregatesFilter | Null Yes
_count NestedIntNullableFilter No
_min NestedBoolNullableFilter No
_max NestedBoolNullableFilter No

NestedDateTimeWithAggregatesFilter

Name Type Nullable
equals DateTime | DateTimeFieldRefInput No
in DateTime | ListDateTimeFieldRefInput No
notIn DateTime | ListDateTimeFieldRefInput No
lt DateTime | DateTimeFieldRefInput No
lte DateTime | DateTimeFieldRefInput No
gt DateTime | DateTimeFieldRefInput No
gte DateTime | DateTimeFieldRefInput No
not DateTime | NestedDateTimeWithAggregatesFilter No
_count NestedIntFilter No
_min NestedDateTimeFilter No
_max NestedDateTimeFilter No



NestedDateTimeNullableFilter

Name Type Nullable
equals DateTime | DateTimeFieldRefInput | Null Yes
in DateTime | ListDateTimeFieldRefInput | Null Yes
notIn DateTime | ListDateTimeFieldRefInput | Null Yes
lt DateTime | DateTimeFieldRefInput No
lte DateTime | DateTimeFieldRefInput No
gt DateTime | DateTimeFieldRefInput No
gte DateTime | DateTimeFieldRefInput No
not DateTime | NestedDateTimeNullableFilter | Null Yes

NestedDateTimeNullableWithAggregatesFilter

Name Type Nullable
equals DateTime | DateTimeFieldRefInput | Null Yes
in DateTime | ListDateTimeFieldRefInput | Null Yes
notIn DateTime | ListDateTimeFieldRefInput | Null Yes
lt DateTime | DateTimeFieldRefInput No
lte DateTime | DateTimeFieldRefInput No
gt DateTime | DateTimeFieldRefInput No
gte DateTime | DateTimeFieldRefInput No
not DateTime | NestedDateTimeNullableWithAggregatesFilter | Null Yes
_count NestedIntNullableFilter No
_min NestedDateTimeNullableFilter No
_max NestedDateTimeNullableFilter No

NestedEnumGenderNullableFilter

Name Type Nullable
equals Gender | EnumGenderFieldRefInput | Null Yes
in Gender[] | ListEnumGenderFieldRefInput | Null Yes
notIn Gender[] | ListEnumGenderFieldRefInput | Null Yes
not Gender | NestedEnumGenderNullableFilter | Null Yes

NestedEnumGenderNullableWithAggregatesFilter

Name Type Nullable
equals Gender | EnumGenderFieldRefInput | Null Yes
in Gender[] | ListEnumGenderFieldRefInput | Null Yes
notIn Gender[] | ListEnumGenderFieldRefInput | Null Yes
not Gender | NestedEnumGenderNullableWithAggregatesFilter | Null Yes
_count NestedIntNullableFilter No
_min NestedEnumGenderNullableFilter No
_max NestedEnumGenderNullableFilter No

NestedBoolFilter

Name Type Nullable
equals Boolean | BooleanFieldRefInput No
not Boolean | NestedBoolFilter No

NestedBoolWithAggregatesFilter

Name Type Nullable
equals Boolean | BooleanFieldRefInput No
not Boolean | NestedBoolWithAggregatesFilter No
_count NestedIntFilter No
_min NestedBoolFilter No
_max NestedBoolFilter No







CategoryCreateWithoutProductInput

Name Type Nullable
categoryName String No
categoryDesc String No
slug String | Null Yes
createdAt DateTime No
updatedAt DateTime No
parentCategory CategoryCreateNestedOneWithoutChildCategoriesInput No
childCategories CategoryCreateNestedManyWithoutParentCategoryInput No
promotionCategory PromotionCategoryCreateNestedManyWithoutCategoryInput No

CategoryUncheckedCreateWithoutProductInput

Name Type Nullable
id Int No
categoryName String No
categoryDesc String No
slug String | Null Yes
createdAt DateTime No
updatedAt DateTime No
parentCategoryId Int | Null Yes
childCategories CategoryUncheckedCreateNestedManyWithoutParentCategoryInput No
promotionCategory PromotionCategoryUncheckedCreateNestedManyWithoutCategoryInput No

CategoryCreateOrConnectWithoutProductInput

Name Type Nullable
where CategoryWhereUniqueInput No
create CategoryCreateWithoutProductInput | CategoryUncheckedCreateWithoutProductInput No

OrderDetailCreateWithoutProductInput

Name Type Nullable
id Int No
quantity Int No
total Decimal No
createdAt DateTime No
updatedAt DateTime No
order OrderCreateNestedOneWithoutOrderDetailInput No

OrderDetailUncheckedCreateWithoutProductInput

Name Type Nullable
id Int No
orderId String No
quantity Int No
total Decimal No
createdAt DateTime No
updatedAt DateTime No

OrderDetailCreateOrConnectWithoutProductInput

Name Type Nullable
where OrderDetailWhereUniqueInput No
create OrderDetailCreateWithoutProductInput | OrderDetailUncheckedCreateWithoutProductInput No

OrderDetailCreateManyProductInputEnvelope

Name Type Nullable
data OrderDetailCreateManyProductInput | OrderDetailCreateManyProductInput[] No
skipDuplicates Boolean No

CartItemCreateWithoutProductInput

Name Type Nullable
quantity Int No
createdAt DateTime No
updatedAt DateTime No
cart CartCreateNestedOneWithoutCartItemsInput No
Promotion PromotionCreateNestedOneWithoutCartItemInput No

CartItemUncheckedCreateWithoutProductInput

Name Type Nullable
id Int No
cartId Int No
quantity Int No
promotionId Int | Null Yes
createdAt DateTime No
updatedAt DateTime No

CartItemCreateOrConnectWithoutProductInput

Name Type Nullable
where CartItemWhereUniqueInput No
create CartItemCreateWithoutProductInput | CartItemUncheckedCreateWithoutProductInput No

CartItemCreateManyProductInputEnvelope

Name Type Nullable
data CartItemCreateManyProductInput | CartItemCreateManyProductInput[] No
skipDuplicates Boolean No

ProductInventoryCreateWithoutProductInput

Name Type Nullable
quantity Int No
reStockLevel Int | Null Yes
status InventoryStatus No
createdAt DateTime No
updatedAt DateTime No

ProductInventoryUncheckedCreateWithoutProductInput

Name Type Nullable
id Int No
quantity Int No
reStockLevel Int | Null Yes
status InventoryStatus No
createdAt DateTime No
updatedAt DateTime No

ProductInventoryCreateOrConnectWithoutProductInput

Name Type Nullable
where ProductInventoryWhereUniqueInput No
create ProductInventoryCreateWithoutProductInput | ProductInventoryUncheckedCreateWithoutProductInput No

ProductInventoryCreateManyProductInputEnvelope

Name Type Nullable
data ProductInventoryCreateManyProductInput | ProductInventoryCreateManyProductInput[] No
skipDuplicates Boolean No

ProductImageCreateWithoutProductInput

Name Type Nullable
imageUrl String No
createdAt DateTime No
updatedAt DateTime No

ProductImageUncheckedCreateWithoutProductInput

Name Type Nullable
id Int No
imageUrl String No
createdAt DateTime No
updatedAt DateTime No

ProductImageCreateOrConnectWithoutProductInput

Name Type Nullable
where ProductImageWhereUniqueInput No
create ProductImageCreateWithoutProductInput | ProductImageUncheckedCreateWithoutProductInput No

ProductImageCreateManyProductInputEnvelope

Name Type Nullable
data ProductImageCreateManyProductInput | ProductImageCreateManyProductInput[] No
skipDuplicates Boolean No

UserReviewCreateWithoutProductInput

Name Type Nullable
title String No
message String No
rating Int No
createdAt DateTime No
updatedAt DateTime No
author UserCreateNestedOneWithoutAuthoredReviewsInput No

UserReviewUncheckedCreateWithoutProductInput

Name Type Nullable
id Int No
title String No
message String No
rating Int No
authorId Int No
createdAt DateTime No
updatedAt DateTime No

UserReviewCreateOrConnectWithoutProductInput

Name Type Nullable
where UserReviewWhereUniqueInput No
create UserReviewCreateWithoutProductInput | UserReviewUncheckedCreateWithoutProductInput No

UserReviewCreateManyProductInputEnvelope

Name Type Nullable
data UserReviewCreateManyProductInput | UserReviewCreateManyProductInput[] No
skipDuplicates Boolean No


CategoryUpdateToOneWithWhereWithoutProductInput

Name Type Nullable
where CategoryWhereInput No
data CategoryUpdateWithoutProductInput | CategoryUncheckedUpdateWithoutProductInput No

CategoryUpdateWithoutProductInput

Name Type Nullable
categoryName String | StringFieldUpdateOperationsInput No
categoryDesc String | StringFieldUpdateOperationsInput No
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
parentCategory CategoryUpdateOneWithoutChildCategoriesNestedInput No
childCategories CategoryUpdateManyWithoutParentCategoryNestedInput No
promotionCategory PromotionCategoryUpdateManyWithoutCategoryNestedInput No

CategoryUncheckedUpdateWithoutProductInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
categoryName String | StringFieldUpdateOperationsInput No
categoryDesc String | StringFieldUpdateOperationsInput No
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
parentCategoryId Int | NullableIntFieldUpdateOperationsInput | Null Yes
childCategories CategoryUncheckedUpdateManyWithoutParentCategoryNestedInput No
promotionCategory PromotionCategoryUncheckedUpdateManyWithoutCategoryNestedInput No


OrderDetailUpdateWithWhereUniqueWithoutProductInput

Name Type Nullable
where OrderDetailWhereUniqueInput No
data OrderDetailUpdateWithoutProductInput | OrderDetailUncheckedUpdateWithoutProductInput No

OrderDetailUpdateManyWithWhereWithoutProductInput

Name Type Nullable
where OrderDetailScalarWhereInput No
data OrderDetailUpdateManyMutationInput | OrderDetailUncheckedUpdateManyWithoutProductInput No

OrderDetailScalarWhereInput

Name Type Nullable
AND OrderDetailScalarWhereInput | OrderDetailScalarWhereInput[] No
OR OrderDetailScalarWhereInput[] No
NOT OrderDetailScalarWhereInput | OrderDetailScalarWhereInput[] No
id IntFilter | Int No
orderId StringFilter | String No
productId IntFilter | Int No
quantity IntFilter | Int No
total DecimalFilter | Decimal No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No


CartItemUpdateWithWhereUniqueWithoutProductInput

Name Type Nullable
where CartItemWhereUniqueInput No
data CartItemUpdateWithoutProductInput | CartItemUncheckedUpdateWithoutProductInput No

CartItemUpdateManyWithWhereWithoutProductInput

Name Type Nullable
where CartItemScalarWhereInput No
data CartItemUpdateManyMutationInput | CartItemUncheckedUpdateManyWithoutProductInput No

CartItemScalarWhereInput

Name Type Nullable
AND CartItemScalarWhereInput | CartItemScalarWhereInput[] No
OR CartItemScalarWhereInput[] No
NOT CartItemScalarWhereInput | CartItemScalarWhereInput[] No
id IntFilter | Int No
cartId IntFilter | Int No
productId IntFilter | Int No
quantity IntFilter | Int No
promotionId IntNullableFilter | Int | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No


ProductInventoryUpdateWithWhereUniqueWithoutProductInput

Name Type Nullable
where ProductInventoryWhereUniqueInput No
data ProductInventoryUpdateWithoutProductInput | ProductInventoryUncheckedUpdateWithoutProductInput No

ProductInventoryUpdateManyWithWhereWithoutProductInput

Name Type Nullable
where ProductInventoryScalarWhereInput No
data ProductInventoryUpdateManyMutationInput | ProductInventoryUncheckedUpdateManyWithoutProductInput No

ProductInventoryScalarWhereInput

Name Type Nullable
AND ProductInventoryScalarWhereInput | ProductInventoryScalarWhereInput[] No
OR ProductInventoryScalarWhereInput[] No
NOT ProductInventoryScalarWhereInput | ProductInventoryScalarWhereInput[] No
id IntFilter | Int No
quantity IntFilter | Int No
reStockLevel IntNullableFilter | Int | Null Yes
status EnumInventoryStatusFilter | InventoryStatus No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
productId IntFilter | Int No


ProductImageUpdateWithWhereUniqueWithoutProductInput

Name Type Nullable
where ProductImageWhereUniqueInput No
data ProductImageUpdateWithoutProductInput | ProductImageUncheckedUpdateWithoutProductInput No

ProductImageUpdateManyWithWhereWithoutProductInput

Name Type Nullable
where ProductImageScalarWhereInput No
data ProductImageUpdateManyMutationInput | ProductImageUncheckedUpdateManyWithoutProductInput No

ProductImageScalarWhereInput

Name Type Nullable
AND ProductImageScalarWhereInput | ProductImageScalarWhereInput[] No
OR ProductImageScalarWhereInput[] No
NOT ProductImageScalarWhereInput | ProductImageScalarWhereInput[] No
id IntFilter | Int No
imageUrl StringFilter | String No
productId IntFilter | Int No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No


UserReviewUpdateWithWhereUniqueWithoutProductInput

Name Type Nullable
where UserReviewWhereUniqueInput No
data UserReviewUpdateWithoutProductInput | UserReviewUncheckedUpdateWithoutProductInput No

UserReviewUpdateManyWithWhereWithoutProductInput

Name Type Nullable
where UserReviewScalarWhereInput No
data UserReviewUpdateManyMutationInput | UserReviewUncheckedUpdateManyWithoutProductInput No

UserReviewScalarWhereInput

Name Type Nullable
AND UserReviewScalarWhereInput | UserReviewScalarWhereInput[] No
OR UserReviewScalarWhereInput[] No
NOT UserReviewScalarWhereInput | UserReviewScalarWhereInput[] No
id IntFilter | Int No
title StringFilter | String No
message StringFilter | String No
rating IntFilter | Int No
authorId IntFilter | Int No
productId IntFilter | Int No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No

CategoryCreateWithoutChildCategoriesInput

Name Type Nullable
categoryName String No
categoryDesc String No
slug String | Null Yes
createdAt DateTime No
updatedAt DateTime No
parentCategory CategoryCreateNestedOneWithoutChildCategoriesInput No
product ProductCreateNestedManyWithoutCategoryInput No
promotionCategory PromotionCategoryCreateNestedManyWithoutCategoryInput No

CategoryUncheckedCreateWithoutChildCategoriesInput

Name Type Nullable
id Int No
categoryName String No
categoryDesc String No
slug String | Null Yes
createdAt DateTime No
updatedAt DateTime No
parentCategoryId Int | Null Yes
product ProductUncheckedCreateNestedManyWithoutCategoryInput No
promotionCategory PromotionCategoryUncheckedCreateNestedManyWithoutCategoryInput No

CategoryCreateOrConnectWithoutChildCategoriesInput

Name Type Nullable
where CategoryWhereUniqueInput No
create CategoryCreateWithoutChildCategoriesInput | CategoryUncheckedCreateWithoutChildCategoriesInput No

CategoryCreateWithoutParentCategoryInput

Name Type Nullable
categoryName String No
categoryDesc String No
slug String | Null Yes
createdAt DateTime No
updatedAt DateTime No
childCategories CategoryCreateNestedManyWithoutParentCategoryInput No
product ProductCreateNestedManyWithoutCategoryInput No
promotionCategory PromotionCategoryCreateNestedManyWithoutCategoryInput No

CategoryUncheckedCreateWithoutParentCategoryInput

Name Type Nullable
id Int No
categoryName String No
categoryDesc String No
slug String | Null Yes
createdAt DateTime No
updatedAt DateTime No
childCategories CategoryUncheckedCreateNestedManyWithoutParentCategoryInput No
product ProductUncheckedCreateNestedManyWithoutCategoryInput No
promotionCategory PromotionCategoryUncheckedCreateNestedManyWithoutCategoryInput No

CategoryCreateOrConnectWithoutParentCategoryInput

Name Type Nullable
where CategoryWhereUniqueInput No
create CategoryCreateWithoutParentCategoryInput | CategoryUncheckedCreateWithoutParentCategoryInput No

CategoryCreateManyParentCategoryInputEnvelope

Name Type Nullable
data CategoryCreateManyParentCategoryInput | CategoryCreateManyParentCategoryInput[] No
skipDuplicates Boolean No

ProductCreateWithoutCategoryInput

Name Type Nullable
productName String No
productDesc String No
shortDesc String | Null Yes
grade Grade | Null Yes
sku String | Null Yes
price Decimal No
msrp Decimal | Null Yes
size String | Null Yes
weight Decimal | Null Yes
weightUnit String | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | Null Yes
soldQuantity Int | Null Yes
isActive Boolean | Null Yes
isAvailable Boolean | Null Yes
slug String | Null Yes
imageUrl String | Null Yes
createdAt DateTime No
updatedAt DateTime No
orderDetail OrderDetailCreateNestedManyWithoutProductInput No
cartItem CartItemCreateNestedManyWithoutProductInput No
productInventory ProductInventoryCreateNestedManyWithoutProductInput No
productImage ProductImageCreateNestedManyWithoutProductInput No
reviews UserReviewCreateNestedManyWithoutProductInput No

ProductUncheckedCreateWithoutCategoryInput

Name Type Nullable
id Int No
productName String No
productDesc String No
shortDesc String | Null Yes
grade Grade | Null Yes
sku String | Null Yes
price Decimal No
msrp Decimal | Null Yes
size String | Null Yes
weight Decimal | Null Yes
weightUnit String | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | Null Yes
soldQuantity Int | Null Yes
isActive Boolean | Null Yes
isAvailable Boolean | Null Yes
slug String | Null Yes
imageUrl String | Null Yes
createdAt DateTime No
updatedAt DateTime No
orderDetail OrderDetailUncheckedCreateNestedManyWithoutProductInput No
cartItem CartItemUncheckedCreateNestedManyWithoutProductInput No
productInventory ProductInventoryUncheckedCreateNestedManyWithoutProductInput No
productImage ProductImageUncheckedCreateNestedManyWithoutProductInput No
reviews UserReviewUncheckedCreateNestedManyWithoutProductInput No

ProductCreateOrConnectWithoutCategoryInput

Name Type Nullable
where ProductWhereUniqueInput No
create ProductCreateWithoutCategoryInput | ProductUncheckedCreateWithoutCategoryInput No

ProductCreateManyCategoryInputEnvelope

Name Type Nullable
data ProductCreateManyCategoryInput | ProductCreateManyCategoryInput[] No
skipDuplicates Boolean No

PromotionCategoryCreateWithoutCategoryInput

Name Type Nullable
createdAt DateTime No
updatedAt DateTime No
promotion PromotionCreateNestedOneWithoutPromotionCategoryInput No

PromotionCategoryUncheckedCreateWithoutCategoryInput

Name Type Nullable
id Int No
promotionId Int No
createdAt DateTime No
updatedAt DateTime No

PromotionCategoryCreateOrConnectWithoutCategoryInput

Name Type Nullable
where PromotionCategoryWhereUniqueInput No
create PromotionCategoryCreateWithoutCategoryInput | PromotionCategoryUncheckedCreateWithoutCategoryInput No

PromotionCategoryCreateManyCategoryInputEnvelope

Name Type Nullable
data PromotionCategoryCreateManyCategoryInput | PromotionCategoryCreateManyCategoryInput[] No
skipDuplicates Boolean No


CategoryUpdateToOneWithWhereWithoutChildCategoriesInput

Name Type Nullable
where CategoryWhereInput No
data CategoryUpdateWithoutChildCategoriesInput | CategoryUncheckedUpdateWithoutChildCategoriesInput No

CategoryUpdateWithoutChildCategoriesInput

Name Type Nullable
categoryName String | StringFieldUpdateOperationsInput No
categoryDesc String | StringFieldUpdateOperationsInput No
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
parentCategory CategoryUpdateOneWithoutChildCategoriesNestedInput No
product ProductUpdateManyWithoutCategoryNestedInput No
promotionCategory PromotionCategoryUpdateManyWithoutCategoryNestedInput No

CategoryUncheckedUpdateWithoutChildCategoriesInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
categoryName String | StringFieldUpdateOperationsInput No
categoryDesc String | StringFieldUpdateOperationsInput No
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
parentCategoryId Int | NullableIntFieldUpdateOperationsInput | Null Yes
product ProductUncheckedUpdateManyWithoutCategoryNestedInput No
promotionCategory PromotionCategoryUncheckedUpdateManyWithoutCategoryNestedInput No


CategoryUpdateWithWhereUniqueWithoutParentCategoryInput

Name Type Nullable
where CategoryWhereUniqueInput No
data CategoryUpdateWithoutParentCategoryInput | CategoryUncheckedUpdateWithoutParentCategoryInput No

CategoryUpdateManyWithWhereWithoutParentCategoryInput

Name Type Nullable
where CategoryScalarWhereInput No
data CategoryUpdateManyMutationInput | CategoryUncheckedUpdateManyWithoutParentCategoryInput No

CategoryScalarWhereInput

Name Type Nullable
AND CategoryScalarWhereInput | CategoryScalarWhereInput[] No
OR CategoryScalarWhereInput[] No
NOT CategoryScalarWhereInput | CategoryScalarWhereInput[] No
id IntFilter | Int No
categoryName StringFilter | String No
categoryDesc StringFilter | String No
slug StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
parentCategoryId IntNullableFilter | Int | Null Yes


ProductUpdateWithWhereUniqueWithoutCategoryInput

Name Type Nullable
where ProductWhereUniqueInput No
data ProductUpdateWithoutCategoryInput | ProductUncheckedUpdateWithoutCategoryInput No

ProductUpdateManyWithWhereWithoutCategoryInput

Name Type Nullable
where ProductScalarWhereInput No
data ProductUpdateManyMutationInput | ProductUncheckedUpdateManyWithoutCategoryInput No

ProductScalarWhereInput

Name Type Nullable
AND ProductScalarWhereInput | ProductScalarWhereInput[] No
OR ProductScalarWhereInput[] No
NOT ProductScalarWhereInput | ProductScalarWhereInput[] No
id IntFilter | Int No
productName StringFilter | String No
productDesc StringFilter | String No
shortDesc StringNullableFilter | String | Null Yes
grade EnumGradeNullableFilter | Grade | Null Yes
sku StringNullableFilter | String | Null Yes
price DecimalFilter | Decimal No
msrp DecimalNullableFilter | Decimal | Null Yes
size StringNullableFilter | String | Null Yes
weight DecimalNullableFilter | Decimal | Null Yes
weightUnit StringNullableFilter | String | Null Yes
features JsonNullableFilter No
quantity IntNullableFilter | Int | Null Yes
soldQuantity IntNullableFilter | Int | Null Yes
isActive BoolNullableFilter | Boolean | Null Yes
isAvailable BoolNullableFilter | Boolean | Null Yes
slug StringNullableFilter | String | Null Yes
imageUrl StringNullableFilter | String | Null Yes
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No
categoryId IntFilter | Int No


PromotionCategoryUpdateWithWhereUniqueWithoutCategoryInput

Name Type Nullable
where PromotionCategoryWhereUniqueInput No
data PromotionCategoryUpdateWithoutCategoryInput | PromotionCategoryUncheckedUpdateWithoutCategoryInput No

PromotionCategoryUpdateManyWithWhereWithoutCategoryInput

Name Type Nullable
where PromotionCategoryScalarWhereInput No
data PromotionCategoryUpdateManyMutationInput | PromotionCategoryUncheckedUpdateManyWithoutCategoryInput No

PromotionCategoryScalarWhereInput

Name Type Nullable
AND PromotionCategoryScalarWhereInput | PromotionCategoryScalarWhereInput[] No
OR PromotionCategoryScalarWhereInput[] No
NOT PromotionCategoryScalarWhereInput | PromotionCategoryScalarWhereInput[] No
id IntFilter | Int No
categoryId IntFilter | Int No
promotionId IntFilter | Int No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No

ProductCreateWithoutProductInventoryInput

Name Type Nullable
productName String No
productDesc String No
shortDesc String | Null Yes
grade Grade | Null Yes
sku String | Null Yes
price Decimal No
msrp Decimal | Null Yes
size String | Null Yes
weight Decimal | Null Yes
weightUnit String | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | Null Yes
soldQuantity Int | Null Yes
isActive Boolean | Null Yes
isAvailable Boolean | Null Yes
slug String | Null Yes
imageUrl String | Null Yes
createdAt DateTime No
updatedAt DateTime No
category CategoryCreateNestedOneWithoutProductInput No
orderDetail OrderDetailCreateNestedManyWithoutProductInput No
cartItem CartItemCreateNestedManyWithoutProductInput No
productImage ProductImageCreateNestedManyWithoutProductInput No
reviews UserReviewCreateNestedManyWithoutProductInput No

ProductUncheckedCreateWithoutProductInventoryInput

Name Type Nullable
id Int No
productName String No
productDesc String No
shortDesc String | Null Yes
grade Grade | Null Yes
sku String | Null Yes
price Decimal No
msrp Decimal | Null Yes
size String | Null Yes
weight Decimal | Null Yes
weightUnit String | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | Null Yes
soldQuantity Int | Null Yes
isActive Boolean | Null Yes
isAvailable Boolean | Null Yes
slug String | Null Yes
imageUrl String | Null Yes
createdAt DateTime No
updatedAt DateTime No
categoryId Int No
orderDetail OrderDetailUncheckedCreateNestedManyWithoutProductInput No
cartItem CartItemUncheckedCreateNestedManyWithoutProductInput No
productImage ProductImageUncheckedCreateNestedManyWithoutProductInput No
reviews UserReviewUncheckedCreateNestedManyWithoutProductInput No

ProductCreateOrConnectWithoutProductInventoryInput

Name Type Nullable
where ProductWhereUniqueInput No
create ProductCreateWithoutProductInventoryInput | ProductUncheckedCreateWithoutProductInventoryInput No


ProductUpdateToOneWithWhereWithoutProductInventoryInput

Name Type Nullable
where ProductWhereInput No
data ProductUpdateWithoutProductInventoryInput | ProductUncheckedUpdateWithoutProductInventoryInput No

ProductUpdateWithoutProductInventoryInput

Name Type Nullable
productName String | StringFieldUpdateOperationsInput No
productDesc String | StringFieldUpdateOperationsInput No
shortDesc String | NullableStringFieldUpdateOperationsInput | Null Yes
grade Grade | NullableEnumGradeFieldUpdateOperationsInput | Null Yes
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
price Decimal | DecimalFieldUpdateOperationsInput No
msrp Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
size String | NullableStringFieldUpdateOperationsInput | Null Yes
weight Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
weightUnit String | NullableStringFieldUpdateOperationsInput | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
soldQuantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
isActive Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
isAvailable Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
imageUrl String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
category CategoryUpdateOneRequiredWithoutProductNestedInput No
orderDetail OrderDetailUpdateManyWithoutProductNestedInput No
cartItem CartItemUpdateManyWithoutProductNestedInput No
productImage ProductImageUpdateManyWithoutProductNestedInput No
reviews UserReviewUpdateManyWithoutProductNestedInput No

ProductUncheckedUpdateWithoutProductInventoryInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
productName String | StringFieldUpdateOperationsInput No
productDesc String | StringFieldUpdateOperationsInput No
shortDesc String | NullableStringFieldUpdateOperationsInput | Null Yes
grade Grade | NullableEnumGradeFieldUpdateOperationsInput | Null Yes
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
price Decimal | DecimalFieldUpdateOperationsInput No
msrp Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
size String | NullableStringFieldUpdateOperationsInput | Null Yes
weight Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
weightUnit String | NullableStringFieldUpdateOperationsInput | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
soldQuantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
isActive Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
isAvailable Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
imageUrl String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
categoryId Int | IntFieldUpdateOperationsInput No
orderDetail OrderDetailUncheckedUpdateManyWithoutProductNestedInput No
cartItem CartItemUncheckedUpdateManyWithoutProductNestedInput No
productImage ProductImageUncheckedUpdateManyWithoutProductNestedInput No
reviews UserReviewUncheckedUpdateManyWithoutProductNestedInput No

ProductCreateWithoutProductImageInput

Name Type Nullable
productName String No
productDesc String No
shortDesc String | Null Yes
grade Grade | Null Yes
sku String | Null Yes
price Decimal No
msrp Decimal | Null Yes
size String | Null Yes
weight Decimal | Null Yes
weightUnit String | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | Null Yes
soldQuantity Int | Null Yes
isActive Boolean | Null Yes
isAvailable Boolean | Null Yes
slug String | Null Yes
imageUrl String | Null Yes
createdAt DateTime No
updatedAt DateTime No
category CategoryCreateNestedOneWithoutProductInput No
orderDetail OrderDetailCreateNestedManyWithoutProductInput No
cartItem CartItemCreateNestedManyWithoutProductInput No
productInventory ProductInventoryCreateNestedManyWithoutProductInput No
reviews UserReviewCreateNestedManyWithoutProductInput No

ProductUncheckedCreateWithoutProductImageInput

Name Type Nullable
id Int No
productName String No
productDesc String No
shortDesc String | Null Yes
grade Grade | Null Yes
sku String | Null Yes
price Decimal No
msrp Decimal | Null Yes
size String | Null Yes
weight Decimal | Null Yes
weightUnit String | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | Null Yes
soldQuantity Int | Null Yes
isActive Boolean | Null Yes
isAvailable Boolean | Null Yes
slug String | Null Yes
imageUrl String | Null Yes
createdAt DateTime No
updatedAt DateTime No
categoryId Int No
orderDetail OrderDetailUncheckedCreateNestedManyWithoutProductInput No
cartItem CartItemUncheckedCreateNestedManyWithoutProductInput No
productInventory ProductInventoryUncheckedCreateNestedManyWithoutProductInput No
reviews UserReviewUncheckedCreateNestedManyWithoutProductInput No

ProductCreateOrConnectWithoutProductImageInput

Name Type Nullable
where ProductWhereUniqueInput No
create ProductCreateWithoutProductImageInput | ProductUncheckedCreateWithoutProductImageInput No


ProductUpdateToOneWithWhereWithoutProductImageInput

Name Type Nullable
where ProductWhereInput No
data ProductUpdateWithoutProductImageInput | ProductUncheckedUpdateWithoutProductImageInput No

ProductUpdateWithoutProductImageInput

Name Type Nullable
productName String | StringFieldUpdateOperationsInput No
productDesc String | StringFieldUpdateOperationsInput No
shortDesc String | NullableStringFieldUpdateOperationsInput | Null Yes
grade Grade | NullableEnumGradeFieldUpdateOperationsInput | Null Yes
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
price Decimal | DecimalFieldUpdateOperationsInput No
msrp Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
size String | NullableStringFieldUpdateOperationsInput | Null Yes
weight Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
weightUnit String | NullableStringFieldUpdateOperationsInput | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
soldQuantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
isActive Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
isAvailable Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
imageUrl String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
category CategoryUpdateOneRequiredWithoutProductNestedInput No
orderDetail OrderDetailUpdateManyWithoutProductNestedInput No
cartItem CartItemUpdateManyWithoutProductNestedInput No
productInventory ProductInventoryUpdateManyWithoutProductNestedInput No
reviews UserReviewUpdateManyWithoutProductNestedInput No

ProductUncheckedUpdateWithoutProductImageInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
productName String | StringFieldUpdateOperationsInput No
productDesc String | StringFieldUpdateOperationsInput No
shortDesc String | NullableStringFieldUpdateOperationsInput | Null Yes
grade Grade | NullableEnumGradeFieldUpdateOperationsInput | Null Yes
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
price Decimal | DecimalFieldUpdateOperationsInput No
msrp Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
size String | NullableStringFieldUpdateOperationsInput | Null Yes
weight Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
weightUnit String | NullableStringFieldUpdateOperationsInput | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
soldQuantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
isActive Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
isAvailable Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
imageUrl String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
categoryId Int | IntFieldUpdateOperationsInput No
orderDetail OrderDetailUncheckedUpdateManyWithoutProductNestedInput No
cartItem CartItemUncheckedUpdateManyWithoutProductNestedInput No
productInventory ProductInventoryUncheckedUpdateManyWithoutProductNestedInput No
reviews UserReviewUncheckedUpdateManyWithoutProductNestedInput No

AuthenticationTokenCreateWithoutUserInput

Name Type Nullable
token String No
expiry DateTime | Null Yes
createdAt DateTime No
updatedAt DateTime No

AuthenticationTokenUncheckedCreateWithoutUserInput

Name Type Nullable
id Int No
token String No
expiry DateTime | Null Yes
createdAt DateTime No
updatedAt DateTime No

AuthenticationTokenCreateOrConnectWithoutUserInput

Name Type Nullable
where AuthenticationTokenWhereUniqueInput No
create AuthenticationTokenCreateWithoutUserInput | AuthenticationTokenUncheckedCreateWithoutUserInput No

UserProfileCreateWithoutUserInput

Name Type Nullable
firstName String | Null Yes
lastName String | Null Yes
phone String | Null Yes
birthDate DateTime | Null Yes
gender Gender | Null Yes
photo String | Null Yes
bio String | Null Yes
createdAt DateTime No
updatedAt DateTime No
userAddress UserAddressCreateNestedManyWithoutUserProfileInput No
socialLinks SocialLinkCreateNestedManyWithoutUserProfileInput No

UserProfileUncheckedCreateWithoutUserInput

Name Type Nullable
id Int No
firstName String | Null Yes
lastName String | Null Yes
phone String | Null Yes
birthDate DateTime | Null Yes
gender Gender | Null Yes
photo String | Null Yes
bio String | Null Yes
createdAt DateTime No
updatedAt DateTime No
userAddress UserAddressUncheckedCreateNestedManyWithoutUserProfileInput No
socialLinks SocialLinkUncheckedCreateNestedManyWithoutUserProfileInput No

UserProfileCreateOrConnectWithoutUserInput

Name Type Nullable
where UserProfileWhereUniqueInput No
create UserProfileCreateWithoutUserInput | UserProfileUncheckedCreateWithoutUserInput No

UserReviewCreateWithoutAuthorInput

Name Type Nullable
title String No
message String No
rating Int No
createdAt DateTime No
updatedAt DateTime No
product ProductCreateNestedOneWithoutReviewsInput No

UserReviewUncheckedCreateWithoutAuthorInput

Name Type Nullable
id Int No
title String No
message String No
rating Int No
productId Int No
createdAt DateTime No
updatedAt DateTime No

UserReviewCreateOrConnectWithoutAuthorInput

Name Type Nullable
where UserReviewWhereUniqueInput No
create UserReviewCreateWithoutAuthorInput | UserReviewUncheckedCreateWithoutAuthorInput No

UserReviewCreateManyAuthorInputEnvelope

Name Type Nullable
data UserReviewCreateManyAuthorInput | UserReviewCreateManyAuthorInput[] No
skipDuplicates Boolean No

CartCreateWithoutUserInput

Name Type Nullable
createdAt DateTime No
updatedAt DateTime No
cartItems CartItemCreateNestedManyWithoutCartInput No

CartUncheckedCreateWithoutUserInput

Name Type Nullable
id Int No
createdAt DateTime No
updatedAt DateTime No
cartItems CartItemUncheckedCreateNestedManyWithoutCartInput No

CartCreateOrConnectWithoutUserInput

Name Type Nullable
where CartWhereUniqueInput No
create CartCreateWithoutUserInput | CartUncheckedCreateWithoutUserInput No

LoginCreateWithoutUserInput

Name Type Nullable
id String No
username String No
password String No
failedAttempts Int No
lockoutTime DateTime | Null Yes
lastLogin DateTime | Null Yes
createdAt DateTime No
updatedAt DateTime No

LoginUncheckedCreateWithoutUserInput

Name Type Nullable
id String No
username String No
password String No
failedAttempts Int No
lockoutTime DateTime | Null Yes
lastLogin DateTime | Null Yes
createdAt DateTime No
updatedAt DateTime No

LoginCreateOrConnectWithoutUserInput

Name Type Nullable
where LoginWhereUniqueInput No
create LoginCreateWithoutUserInput | LoginUncheckedCreateWithoutUserInput No

UserRoleCreateWithoutUserInput

Name Type Nullable
createdAt DateTime No
updatedAt DateTime No
role RoleCreateNestedOneWithoutUsersInput No

UserRoleUncheckedCreateWithoutUserInput

Name Type Nullable
id Int No
roleId Int No
createdAt DateTime No
updatedAt DateTime No

UserRoleCreateOrConnectWithoutUserInput

Name Type Nullable
where UserRoleWhereUniqueInput No
create UserRoleCreateWithoutUserInput | UserRoleUncheckedCreateWithoutUserInput No

UserRoleCreateManyUserInputEnvelope

Name Type Nullable
data UserRoleCreateManyUserInput | UserRoleCreateManyUserInput[] No
skipDuplicates Boolean No

PaymentMethodCreateWithoutUserInput

Name Type Nullable
id Int No
cardProvider String | Null Yes
nameOnCard String | Null Yes
isDefault Boolean No
createdAt DateTime No
updatedAt DateTime No
paymentDetail PaymentDetailCreateNestedOneWithoutPaymentMethodInput No
paymentOption PaymentOptionCreateNestedOneWithoutPaymentMethodInput No

PaymentMethodUncheckedCreateWithoutUserInput

Name Type Nullable
id Int No
paymentDetailId Int No
paymentOptionId Int No
cardProvider String | Null Yes
nameOnCard String | Null Yes
isDefault Boolean No
createdAt DateTime No
updatedAt DateTime No

PaymentMethodCreateOrConnectWithoutUserInput

Name Type Nullable
where PaymentMethodWhereUniqueInput No
create PaymentMethodCreateWithoutUserInput | PaymentMethodUncheckedCreateWithoutUserInput No

PaymentMethodCreateManyUserInputEnvelope

Name Type Nullable
data PaymentMethodCreateManyUserInput | PaymentMethodCreateManyUserInput[] No
skipDuplicates Boolean No

OrderCreateWithoutUserInput

Name Type Nullable
id String No
status OrderStatusType No
tax Decimal No
total Decimal No
createdAt DateTime No
updatedAt DateTime No
shippingDetail ShippingDetailCreateNestedOneWithoutOrderInput No
paymentDetail PaymentDetailCreateNestedOneWithoutOrderInput No
orderDetail OrderDetailCreateNestedManyWithoutOrderInput No

OrderUncheckedCreateWithoutUserInput

Name Type Nullable
id String No
status OrderStatusType No
tax Decimal No
total Decimal No
createdAt DateTime No
updatedAt DateTime No
shippingDetail ShippingDetailUncheckedCreateNestedOneWithoutOrderInput No
paymentDetail PaymentDetailUncheckedCreateNestedOneWithoutOrderInput No
orderDetail OrderDetailUncheckedCreateNestedManyWithoutOrderInput No

OrderCreateOrConnectWithoutUserInput

Name Type Nullable
where OrderWhereUniqueInput No
create OrderCreateWithoutUserInput | OrderUncheckedCreateWithoutUserInput No

OrderCreateManyUserInputEnvelope

Name Type Nullable
data OrderCreateManyUserInput | OrderCreateManyUserInput[] No
skipDuplicates Boolean No


AuthenticationTokenUpdateToOneWithWhereWithoutUserInput

Name Type Nullable
where AuthenticationTokenWhereInput No
data AuthenticationTokenUpdateWithoutUserInput | AuthenticationTokenUncheckedUpdateWithoutUserInput No

AuthenticationTokenUpdateWithoutUserInput

Name Type Nullable
token String | StringFieldUpdateOperationsInput No
expiry DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

AuthenticationTokenUncheckedUpdateWithoutUserInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
token String | StringFieldUpdateOperationsInput No
expiry DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No


UserProfileUpdateToOneWithWhereWithoutUserInput

Name Type Nullable
where UserProfileWhereInput No
data UserProfileUpdateWithoutUserInput | UserProfileUncheckedUpdateWithoutUserInput No

UserProfileUpdateWithoutUserInput

Name Type Nullable
firstName String | NullableStringFieldUpdateOperationsInput | Null Yes
lastName String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
birthDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
gender Gender | NullableEnumGenderFieldUpdateOperationsInput | Null Yes
photo String | NullableStringFieldUpdateOperationsInput | Null Yes
bio String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
userAddress UserAddressUpdateManyWithoutUserProfileNestedInput No
socialLinks SocialLinkUpdateManyWithoutUserProfileNestedInput No

UserProfileUncheckedUpdateWithoutUserInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
firstName String | NullableStringFieldUpdateOperationsInput | Null Yes
lastName String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
birthDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
gender Gender | NullableEnumGenderFieldUpdateOperationsInput | Null Yes
photo String | NullableStringFieldUpdateOperationsInput | Null Yes
bio String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
userAddress UserAddressUncheckedUpdateManyWithoutUserProfileNestedInput No
socialLinks SocialLinkUncheckedUpdateManyWithoutUserProfileNestedInput No


UserReviewUpdateWithWhereUniqueWithoutAuthorInput

Name Type Nullable
where UserReviewWhereUniqueInput No
data UserReviewUpdateWithoutAuthorInput | UserReviewUncheckedUpdateWithoutAuthorInput No

UserReviewUpdateManyWithWhereWithoutAuthorInput

Name Type Nullable
where UserReviewScalarWhereInput No
data UserReviewUpdateManyMutationInput | UserReviewUncheckedUpdateManyWithoutAuthorInput No


CartUpdateToOneWithWhereWithoutUserInput

Name Type Nullable
where CartWhereInput No
data CartUpdateWithoutUserInput | CartUncheckedUpdateWithoutUserInput No

CartUpdateWithoutUserInput

Name Type Nullable
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
cartItems CartItemUpdateManyWithoutCartNestedInput No

CartUncheckedUpdateWithoutUserInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
cartItems CartItemUncheckedUpdateManyWithoutCartNestedInput No


LoginUpdateToOneWithWhereWithoutUserInput

Name Type Nullable
where LoginWhereInput No
data LoginUpdateWithoutUserInput | LoginUncheckedUpdateWithoutUserInput No

LoginUpdateWithoutUserInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
username String | StringFieldUpdateOperationsInput No
password String | StringFieldUpdateOperationsInput No
failedAttempts Int | IntFieldUpdateOperationsInput No
lockoutTime DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
lastLogin DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

LoginUncheckedUpdateWithoutUserInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
username String | StringFieldUpdateOperationsInput No
password String | StringFieldUpdateOperationsInput No
failedAttempts Int | IntFieldUpdateOperationsInput No
lockoutTime DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
lastLogin DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No


UserRoleUpdateWithWhereUniqueWithoutUserInput

Name Type Nullable
where UserRoleWhereUniqueInput No
data UserRoleUpdateWithoutUserInput | UserRoleUncheckedUpdateWithoutUserInput No

UserRoleUpdateManyWithWhereWithoutUserInput

Name Type Nullable
where UserRoleScalarWhereInput No
data UserRoleUpdateManyMutationInput | UserRoleUncheckedUpdateManyWithoutUserInput No

UserRoleScalarWhereInput

Name Type Nullable
AND UserRoleScalarWhereInput | UserRoleScalarWhereInput[] No
OR UserRoleScalarWhereInput[] No
NOT UserRoleScalarWhereInput | UserRoleScalarWhereInput[] No
id IntFilter | Int No
userId IntFilter | Int No
roleId IntFilter | Int No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No


PaymentMethodUpdateWithWhereUniqueWithoutUserInput

Name Type Nullable
where PaymentMethodWhereUniqueInput No
data PaymentMethodUpdateWithoutUserInput | PaymentMethodUncheckedUpdateWithoutUserInput No

PaymentMethodUpdateManyWithWhereWithoutUserInput

Name Type Nullable
where PaymentMethodScalarWhereInput No
data PaymentMethodUpdateManyMutationInput | PaymentMethodUncheckedUpdateManyWithoutUserInput No

PaymentMethodScalarWhereInput

Name Type Nullable
AND PaymentMethodScalarWhereInput | PaymentMethodScalarWhereInput[] No
OR PaymentMethodScalarWhereInput[] No
NOT PaymentMethodScalarWhereInput | PaymentMethodScalarWhereInput[] No
id IntFilter | Int No
userId IntFilter | Int No
paymentDetailId IntFilter | Int No
paymentOptionId IntFilter | Int No
cardProvider StringNullableFilter | String | Null Yes
nameOnCard StringNullableFilter | String | Null Yes
isDefault BoolFilter | Boolean No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No

OrderUpsertWithWhereUniqueWithoutUserInput

Name Type Nullable
where OrderWhereUniqueInput No
update OrderUpdateWithoutUserInput | OrderUncheckedUpdateWithoutUserInput No
create OrderCreateWithoutUserInput | OrderUncheckedCreateWithoutUserInput No

OrderUpdateWithWhereUniqueWithoutUserInput

Name Type Nullable
where OrderWhereUniqueInput No
data OrderUpdateWithoutUserInput | OrderUncheckedUpdateWithoutUserInput No

OrderUpdateManyWithWhereWithoutUserInput

Name Type Nullable
where OrderScalarWhereInput No
data OrderUpdateManyMutationInput | OrderUncheckedUpdateManyWithoutUserInput No

OrderScalarWhereInput

Name Type Nullable
AND OrderScalarWhereInput | OrderScalarWhereInput[] No
OR OrderScalarWhereInput[] No
NOT OrderScalarWhereInput | OrderScalarWhereInput[] No
id StringFilter | String No
status EnumOrderStatusTypeFilter | OrderStatusType No
tax DecimalFilter | Decimal No
total DecimalFilter | Decimal No
createdAt DateTimeFilter | DateTime No
userId IntFilter | Int No
updatedAt DateTimeFilter | DateTime No

UserCreateWithoutLoginInput

Name Type Nullable
email String No
createdAt DateTime No
updatedAt DateTime No
preference NullableJsonNullValueInput | Json No
balance Int No
authenticationToken AuthenticationTokenCreateNestedOneWithoutUserInput No
profile UserProfileCreateNestedOneWithoutUserInput No
authoredReviews UserReviewCreateNestedManyWithoutAuthorInput No
cart CartCreateNestedOneWithoutUserInput No
roles UserRoleCreateNestedManyWithoutUserInput No
paymentMethod PaymentMethodCreateNestedManyWithoutUserInput No
orders OrderCreateNestedManyWithoutUserInput No

UserUncheckedCreateWithoutLoginInput

Name Type Nullable
id Int No
email String No
createdAt DateTime No
updatedAt DateTime No
preference NullableJsonNullValueInput | Json No
balance Int No
authenticationToken AuthenticationTokenUncheckedCreateNestedOneWithoutUserInput No
profile UserProfileUncheckedCreateNestedOneWithoutUserInput No
authoredReviews UserReviewUncheckedCreateNestedManyWithoutAuthorInput No
cart CartUncheckedCreateNestedOneWithoutUserInput No
roles UserRoleUncheckedCreateNestedManyWithoutUserInput No
paymentMethod PaymentMethodUncheckedCreateNestedManyWithoutUserInput No
orders OrderUncheckedCreateNestedManyWithoutUserInput No

UserCreateOrConnectWithoutLoginInput

Name Type Nullable
where UserWhereUniqueInput No
create UserCreateWithoutLoginInput | UserUncheckedCreateWithoutLoginInput No


UserUpdateToOneWithWhereWithoutLoginInput

Name Type Nullable
where UserWhereInput No
data UserUpdateWithoutLoginInput | UserUncheckedUpdateWithoutLoginInput No


UserUncheckedUpdateWithoutLoginInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
email String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
preference NullableJsonNullValueInput | Json No
balance Int | IntFieldUpdateOperationsInput No
authenticationToken AuthenticationTokenUncheckedUpdateOneWithoutUserNestedInput No
profile UserProfileUncheckedUpdateOneWithoutUserNestedInput No
authoredReviews UserReviewUncheckedUpdateManyWithoutAuthorNestedInput No
cart CartUncheckedUpdateOneWithoutUserNestedInput No
roles UserRoleUncheckedUpdateManyWithoutUserNestedInput No
paymentMethod PaymentMethodUncheckedUpdateManyWithoutUserNestedInput No
orders OrderUncheckedUpdateManyWithoutUserNestedInput No

UserCreateWithoutAuthenticationTokenInput

Name Type Nullable
email String No
createdAt DateTime No
updatedAt DateTime No
preference NullableJsonNullValueInput | Json No
balance Int No
profile UserProfileCreateNestedOneWithoutUserInput No
authoredReviews UserReviewCreateNestedManyWithoutAuthorInput No
cart CartCreateNestedOneWithoutUserInput No
login LoginCreateNestedOneWithoutUserInput No
roles UserRoleCreateNestedManyWithoutUserInput No
paymentMethod PaymentMethodCreateNestedManyWithoutUserInput No
orders OrderCreateNestedManyWithoutUserInput No

UserUncheckedCreateWithoutAuthenticationTokenInput

Name Type Nullable
id Int No
email String No
createdAt DateTime No
updatedAt DateTime No
preference NullableJsonNullValueInput | Json No
balance Int No
profile UserProfileUncheckedCreateNestedOneWithoutUserInput No
authoredReviews UserReviewUncheckedCreateNestedManyWithoutAuthorInput No
cart CartUncheckedCreateNestedOneWithoutUserInput No
login LoginUncheckedCreateNestedOneWithoutUserInput No
roles UserRoleUncheckedCreateNestedManyWithoutUserInput No
paymentMethod PaymentMethodUncheckedCreateNestedManyWithoutUserInput No
orders OrderUncheckedCreateNestedManyWithoutUserInput No

UserCreateOrConnectWithoutAuthenticationTokenInput

Name Type Nullable
where UserWhereUniqueInput No
create UserCreateWithoutAuthenticationTokenInput | UserUncheckedCreateWithoutAuthenticationTokenInput No


UserUpdateToOneWithWhereWithoutAuthenticationTokenInput

Name Type Nullable
where UserWhereInput No
data UserUpdateWithoutAuthenticationTokenInput | UserUncheckedUpdateWithoutAuthenticationTokenInput No


UserUncheckedUpdateWithoutAuthenticationTokenInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
email String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
preference NullableJsonNullValueInput | Json No
balance Int | IntFieldUpdateOperationsInput No
profile UserProfileUncheckedUpdateOneWithoutUserNestedInput No
authoredReviews UserReviewUncheckedUpdateManyWithoutAuthorNestedInput No
cart CartUncheckedUpdateOneWithoutUserNestedInput No
login LoginUncheckedUpdateOneWithoutUserNestedInput No
roles UserRoleUncheckedUpdateManyWithoutUserNestedInput No
paymentMethod PaymentMethodUncheckedUpdateManyWithoutUserNestedInput No
orders OrderUncheckedUpdateManyWithoutUserNestedInput No

UserAddressCreateWithoutUserProfileInput

Name Type Nullable
isDefault Boolean No
createdAt DateTime No
updatedAt DateTime No
address AddressCreateNestedOneWithoutUserAddressInput No

UserAddressUncheckedCreateWithoutUserProfileInput

Name Type Nullable
id Int No
addressId Int No
isDefault Boolean No
createdAt DateTime No
updatedAt DateTime No

UserAddressCreateOrConnectWithoutUserProfileInput

Name Type Nullable
where UserAddressWhereUniqueInput No
create UserAddressCreateWithoutUserProfileInput | UserAddressUncheckedCreateWithoutUserProfileInput No

UserAddressCreateManyUserProfileInputEnvelope

Name Type Nullable
data UserAddressCreateManyUserProfileInput | UserAddressCreateManyUserProfileInput[] No
skipDuplicates Boolean No

SocialLinkCreateWithoutUserProfileInput

Name Type Nullable
socialProvider String No
socialUrl String No
createdAt DateTime No
updatedAt DateTime No

SocialLinkUncheckedCreateWithoutUserProfileInput

Name Type Nullable
id Int No
socialProvider String No
socialUrl String No
createdAt DateTime No
updatedAt DateTime No

SocialLinkCreateOrConnectWithoutUserProfileInput

Name Type Nullable
where SocialLinkWhereUniqueInput No
create SocialLinkCreateWithoutUserProfileInput | SocialLinkUncheckedCreateWithoutUserProfileInput No

SocialLinkCreateManyUserProfileInputEnvelope

Name Type Nullable
data SocialLinkCreateManyUserProfileInput | SocialLinkCreateManyUserProfileInput[] No
skipDuplicates Boolean No

UserCreateWithoutProfileInput

Name Type Nullable
email String No
createdAt DateTime No
updatedAt DateTime No
preference NullableJsonNullValueInput | Json No
balance Int No
authenticationToken AuthenticationTokenCreateNestedOneWithoutUserInput No
authoredReviews UserReviewCreateNestedManyWithoutAuthorInput No
cart CartCreateNestedOneWithoutUserInput No
login LoginCreateNestedOneWithoutUserInput No
roles UserRoleCreateNestedManyWithoutUserInput No
paymentMethod PaymentMethodCreateNestedManyWithoutUserInput No
orders OrderCreateNestedManyWithoutUserInput No

UserUncheckedCreateWithoutProfileInput

Name Type Nullable
id Int No
email String No
createdAt DateTime No
updatedAt DateTime No
preference NullableJsonNullValueInput | Json No
balance Int No
authenticationToken AuthenticationTokenUncheckedCreateNestedOneWithoutUserInput No
authoredReviews UserReviewUncheckedCreateNestedManyWithoutAuthorInput No
cart CartUncheckedCreateNestedOneWithoutUserInput No
login LoginUncheckedCreateNestedOneWithoutUserInput No
roles UserRoleUncheckedCreateNestedManyWithoutUserInput No
paymentMethod PaymentMethodUncheckedCreateNestedManyWithoutUserInput No
orders OrderUncheckedCreateNestedManyWithoutUserInput No

UserCreateOrConnectWithoutProfileInput

Name Type Nullable
where UserWhereUniqueInput No
create UserCreateWithoutProfileInput | UserUncheckedCreateWithoutProfileInput No


UserAddressUpdateWithWhereUniqueWithoutUserProfileInput

Name Type Nullable
where UserAddressWhereUniqueInput No
data UserAddressUpdateWithoutUserProfileInput | UserAddressUncheckedUpdateWithoutUserProfileInput No

UserAddressUpdateManyWithWhereWithoutUserProfileInput

Name Type Nullable
where UserAddressScalarWhereInput No
data UserAddressUpdateManyMutationInput | UserAddressUncheckedUpdateManyWithoutUserProfileInput No

UserAddressScalarWhereInput

Name Type Nullable
AND UserAddressScalarWhereInput | UserAddressScalarWhereInput[] No
OR UserAddressScalarWhereInput[] No
NOT UserAddressScalarWhereInput | UserAddressScalarWhereInput[] No
id IntFilter | Int No
userProfileId IntFilter | Int No
addressId IntFilter | Int No
isDefault BoolFilter | Boolean No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No


SocialLinkUpdateWithWhereUniqueWithoutUserProfileInput

Name Type Nullable
where SocialLinkWhereUniqueInput No
data SocialLinkUpdateWithoutUserProfileInput | SocialLinkUncheckedUpdateWithoutUserProfileInput No

SocialLinkUpdateManyWithWhereWithoutUserProfileInput

Name Type Nullable
where SocialLinkScalarWhereInput No
data SocialLinkUpdateManyMutationInput | SocialLinkUncheckedUpdateManyWithoutUserProfileInput No

SocialLinkScalarWhereInput

Name Type Nullable
AND SocialLinkScalarWhereInput | SocialLinkScalarWhereInput[] No
OR SocialLinkScalarWhereInput[] No
NOT SocialLinkScalarWhereInput | SocialLinkScalarWhereInput[] No
id IntFilter | Int No
userProfileId IntFilter | Int No
socialProvider StringFilter | String No
socialUrl StringFilter | String No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No


UserUpdateToOneWithWhereWithoutProfileInput

Name Type Nullable
where UserWhereInput No
data UserUpdateWithoutProfileInput | UserUncheckedUpdateWithoutProfileInput No


UserUncheckedUpdateWithoutProfileInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
email String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
preference NullableJsonNullValueInput | Json No
balance Int | IntFieldUpdateOperationsInput No
authenticationToken AuthenticationTokenUncheckedUpdateOneWithoutUserNestedInput No
authoredReviews UserReviewUncheckedUpdateManyWithoutAuthorNestedInput No
cart CartUncheckedUpdateOneWithoutUserNestedInput No
login LoginUncheckedUpdateOneWithoutUserNestedInput No
roles UserRoleUncheckedUpdateManyWithoutUserNestedInput No
paymentMethod PaymentMethodUncheckedUpdateManyWithoutUserNestedInput No
orders OrderUncheckedUpdateManyWithoutUserNestedInput No

UserProfileCreateWithoutUserAddressInput

Name Type Nullable
firstName String | Null Yes
lastName String | Null Yes
phone String | Null Yes
birthDate DateTime | Null Yes
gender Gender | Null Yes
photo String | Null Yes
bio String | Null Yes
createdAt DateTime No
updatedAt DateTime No
socialLinks SocialLinkCreateNestedManyWithoutUserProfileInput No
user UserCreateNestedOneWithoutProfileInput No

UserProfileUncheckedCreateWithoutUserAddressInput

Name Type Nullable
id Int No
firstName String | Null Yes
lastName String | Null Yes
phone String | Null Yes
birthDate DateTime | Null Yes
gender Gender | Null Yes
photo String | Null Yes
bio String | Null Yes
userId Int No
createdAt DateTime No
updatedAt DateTime No
socialLinks SocialLinkUncheckedCreateNestedManyWithoutUserProfileInput No

UserProfileCreateOrConnectWithoutUserAddressInput

Name Type Nullable
where UserProfileWhereUniqueInput No
create UserProfileCreateWithoutUserAddressInput | UserProfileUncheckedCreateWithoutUserAddressInput No

AddressCreateWithoutUserAddressInput

Name Type Nullable
street String No
unit String No
city String No
zipcode String No
state String No
country String No
planet String | Null Yes
solarSystem String | Null Yes
galaxy String | Null Yes
localGroup String | Null Yes
localCluster String | Null Yes
universe String | Null Yes
createdAt DateTime No
updatedAt DateTime No
paymentDetail PaymentDetailCreateNestedManyWithoutBillingAddressInput No
shippingDetail ShippingDetailCreateNestedManyWithoutShippingAddressInput No

AddressUncheckedCreateWithoutUserAddressInput

Name Type Nullable
id Int No
street String No
unit String No
city String No
zipcode String No
state String No
country String No
planet String | Null Yes
solarSystem String | Null Yes
galaxy String | Null Yes
localGroup String | Null Yes
localCluster String | Null Yes
universe String | Null Yes
createdAt DateTime No
updatedAt DateTime No
paymentDetail PaymentDetailUncheckedCreateNestedManyWithoutBillingAddressInput No
shippingDetail ShippingDetailUncheckedCreateNestedManyWithoutShippingAddressInput No

AddressCreateOrConnectWithoutUserAddressInput

Name Type Nullable
where AddressWhereUniqueInput No
create AddressCreateWithoutUserAddressInput | AddressUncheckedCreateWithoutUserAddressInput No


UserProfileUpdateToOneWithWhereWithoutUserAddressInput

Name Type Nullable
where UserProfileWhereInput No
data UserProfileUpdateWithoutUserAddressInput | UserProfileUncheckedUpdateWithoutUserAddressInput No

UserProfileUpdateWithoutUserAddressInput

Name Type Nullable
firstName String | NullableStringFieldUpdateOperationsInput | Null Yes
lastName String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
birthDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
gender Gender | NullableEnumGenderFieldUpdateOperationsInput | Null Yes
photo String | NullableStringFieldUpdateOperationsInput | Null Yes
bio String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
socialLinks SocialLinkUpdateManyWithoutUserProfileNestedInput No
user UserUpdateOneRequiredWithoutProfileNestedInput No

UserProfileUncheckedUpdateWithoutUserAddressInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
firstName String | NullableStringFieldUpdateOperationsInput | Null Yes
lastName String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
birthDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
gender Gender | NullableEnumGenderFieldUpdateOperationsInput | Null Yes
photo String | NullableStringFieldUpdateOperationsInput | Null Yes
bio String | NullableStringFieldUpdateOperationsInput | Null Yes
userId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
socialLinks SocialLinkUncheckedUpdateManyWithoutUserProfileNestedInput No


AddressUpdateToOneWithWhereWithoutUserAddressInput

Name Type Nullable
where AddressWhereInput No
data AddressUpdateWithoutUserAddressInput | AddressUncheckedUpdateWithoutUserAddressInput No

AddressUpdateWithoutUserAddressInput

Name Type Nullable
street String | StringFieldUpdateOperationsInput No
unit String | StringFieldUpdateOperationsInput No
city String | StringFieldUpdateOperationsInput No
zipcode String | StringFieldUpdateOperationsInput No
state String | StringFieldUpdateOperationsInput No
country String | StringFieldUpdateOperationsInput No
planet String | NullableStringFieldUpdateOperationsInput | Null Yes
solarSystem String | NullableStringFieldUpdateOperationsInput | Null Yes
galaxy String | NullableStringFieldUpdateOperationsInput | Null Yes
localGroup String | NullableStringFieldUpdateOperationsInput | Null Yes
localCluster String | NullableStringFieldUpdateOperationsInput | Null Yes
universe String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
paymentDetail PaymentDetailUpdateManyWithoutBillingAddressNestedInput No
shippingDetail ShippingDetailUpdateManyWithoutShippingAddressNestedInput No

AddressUncheckedUpdateWithoutUserAddressInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
street String | StringFieldUpdateOperationsInput No
unit String | StringFieldUpdateOperationsInput No
city String | StringFieldUpdateOperationsInput No
zipcode String | StringFieldUpdateOperationsInput No
state String | StringFieldUpdateOperationsInput No
country String | StringFieldUpdateOperationsInput No
planet String | NullableStringFieldUpdateOperationsInput | Null Yes
solarSystem String | NullableStringFieldUpdateOperationsInput | Null Yes
galaxy String | NullableStringFieldUpdateOperationsInput | Null Yes
localGroup String | NullableStringFieldUpdateOperationsInput | Null Yes
localCluster String | NullableStringFieldUpdateOperationsInput | Null Yes
universe String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
paymentDetail PaymentDetailUncheckedUpdateManyWithoutBillingAddressNestedInput No
shippingDetail ShippingDetailUncheckedUpdateManyWithoutShippingAddressNestedInput No

UserAddressCreateWithoutAddressInput

Name Type Nullable
isDefault Boolean No
createdAt DateTime No
updatedAt DateTime No
userProfile UserProfileCreateNestedOneWithoutUserAddressInput No

UserAddressUncheckedCreateWithoutAddressInput

Name Type Nullable
id Int No
userProfileId Int No
isDefault Boolean No
createdAt DateTime No
updatedAt DateTime No

UserAddressCreateOrConnectWithoutAddressInput

Name Type Nullable
where UserAddressWhereUniqueInput No
create UserAddressCreateWithoutAddressInput | UserAddressUncheckedCreateWithoutAddressInput No

UserAddressCreateManyAddressInputEnvelope

Name Type Nullable
data UserAddressCreateManyAddressInput | UserAddressCreateManyAddressInput[] No
skipDuplicates Boolean No

PaymentDetailCreateWithoutBillingAddressInput

Name Type Nullable
id Int No
createdAt DateTime No
updatedAt DateTime No
paymentMethod PaymentMethodCreateNestedManyWithoutPaymentDetailInput No
order OrderCreateNestedOneWithoutPaymentDetailInput No

PaymentDetailUncheckedCreateWithoutBillingAddressInput

Name Type Nullable
id Int No
orderId String No
createdAt DateTime No
updatedAt DateTime No
paymentMethod PaymentMethodUncheckedCreateNestedManyWithoutPaymentDetailInput No

PaymentDetailCreateOrConnectWithoutBillingAddressInput

Name Type Nullable
where PaymentDetailWhereUniqueInput No
create PaymentDetailCreateWithoutBillingAddressInput | PaymentDetailUncheckedCreateWithoutBillingAddressInput No

PaymentDetailCreateManyBillingAddressInputEnvelope

Name Type Nullable
data PaymentDetailCreateManyBillingAddressInput | PaymentDetailCreateManyBillingAddressInput[] No
skipDuplicates Boolean No

ShippingDetailCreateWithoutShippingAddressInput

Name Type Nullable
id Int No
estimatedArrival DateTime No
createdAt DateTime No
updatedAt DateTime No
shippingMethod ShippingMethodCreateNestedOneWithoutShippingDetailInput No
order OrderCreateNestedOneWithoutShippingDetailInput No

ShippingDetailUncheckedCreateWithoutShippingAddressInput

Name Type Nullable
id Int No
estimatedArrival DateTime No
shippingMethodId Int No
orderId String No
createdAt DateTime No
updatedAt DateTime No

ShippingDetailCreateOrConnectWithoutShippingAddressInput

Name Type Nullable
where ShippingDetailWhereUniqueInput No
create ShippingDetailCreateWithoutShippingAddressInput | ShippingDetailUncheckedCreateWithoutShippingAddressInput No

ShippingDetailCreateManyShippingAddressInputEnvelope

Name Type Nullable
data ShippingDetailCreateManyShippingAddressInput | ShippingDetailCreateManyShippingAddressInput[] No
skipDuplicates Boolean No


UserAddressUpdateWithWhereUniqueWithoutAddressInput

Name Type Nullable
where UserAddressWhereUniqueInput No
data UserAddressUpdateWithoutAddressInput | UserAddressUncheckedUpdateWithoutAddressInput No

UserAddressUpdateManyWithWhereWithoutAddressInput

Name Type Nullable
where UserAddressScalarWhereInput No
data UserAddressUpdateManyMutationInput | UserAddressUncheckedUpdateManyWithoutAddressInput No


PaymentDetailUpdateWithWhereUniqueWithoutBillingAddressInput

Name Type Nullable
where PaymentDetailWhereUniqueInput No
data PaymentDetailUpdateWithoutBillingAddressInput | PaymentDetailUncheckedUpdateWithoutBillingAddressInput No

PaymentDetailUpdateManyWithWhereWithoutBillingAddressInput

Name Type Nullable
where PaymentDetailScalarWhereInput No
data PaymentDetailUpdateManyMutationInput | PaymentDetailUncheckedUpdateManyWithoutBillingAddressInput No

PaymentDetailScalarWhereInput

Name Type Nullable
AND PaymentDetailScalarWhereInput | PaymentDetailScalarWhereInput[] No
OR PaymentDetailScalarWhereInput[] No
NOT PaymentDetailScalarWhereInput | PaymentDetailScalarWhereInput[] No
id IntFilter | Int No
billingAddressId IntFilter | Int No
orderId StringFilter | String No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No


ShippingDetailUpdateWithWhereUniqueWithoutShippingAddressInput

Name Type Nullable
where ShippingDetailWhereUniqueInput No
data ShippingDetailUpdateWithoutShippingAddressInput | ShippingDetailUncheckedUpdateWithoutShippingAddressInput No

ShippingDetailUpdateManyWithWhereWithoutShippingAddressInput

Name Type Nullable
where ShippingDetailScalarWhereInput No
data ShippingDetailUpdateManyMutationInput | ShippingDetailUncheckedUpdateManyWithoutShippingAddressInput No

ShippingDetailScalarWhereInput

Name Type Nullable
AND ShippingDetailScalarWhereInput | ShippingDetailScalarWhereInput[] No
OR ShippingDetailScalarWhereInput[] No
NOT ShippingDetailScalarWhereInput | ShippingDetailScalarWhereInput[] No
id IntFilter | Int No
estimatedArrival DateTimeFilter | DateTime No
shippingAddressId IntFilter | Int No
shippingMethodId IntFilter | Int No
orderId StringFilter | String No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No

UserProfileCreateWithoutSocialLinksInput

Name Type Nullable
firstName String | Null Yes
lastName String | Null Yes
phone String | Null Yes
birthDate DateTime | Null Yes
gender Gender | Null Yes
photo String | Null Yes
bio String | Null Yes
createdAt DateTime No
updatedAt DateTime No
userAddress UserAddressCreateNestedManyWithoutUserProfileInput No
user UserCreateNestedOneWithoutProfileInput No

UserProfileUncheckedCreateWithoutSocialLinksInput

Name Type Nullable
id Int No
firstName String | Null Yes
lastName String | Null Yes
phone String | Null Yes
birthDate DateTime | Null Yes
gender Gender | Null Yes
photo String | Null Yes
bio String | Null Yes
userId Int No
createdAt DateTime No
updatedAt DateTime No
userAddress UserAddressUncheckedCreateNestedManyWithoutUserProfileInput No

UserProfileCreateOrConnectWithoutSocialLinksInput

Name Type Nullable
where UserProfileWhereUniqueInput No
create UserProfileCreateWithoutSocialLinksInput | UserProfileUncheckedCreateWithoutSocialLinksInput No


UserProfileUpdateToOneWithWhereWithoutSocialLinksInput

Name Type Nullable
where UserProfileWhereInput No
data UserProfileUpdateWithoutSocialLinksInput | UserProfileUncheckedUpdateWithoutSocialLinksInput No

UserProfileUpdateWithoutSocialLinksInput

Name Type Nullable
firstName String | NullableStringFieldUpdateOperationsInput | Null Yes
lastName String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
birthDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
gender Gender | NullableEnumGenderFieldUpdateOperationsInput | Null Yes
photo String | NullableStringFieldUpdateOperationsInput | Null Yes
bio String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
userAddress UserAddressUpdateManyWithoutUserProfileNestedInput No
user UserUpdateOneRequiredWithoutProfileNestedInput No

UserProfileUncheckedUpdateWithoutSocialLinksInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
firstName String | NullableStringFieldUpdateOperationsInput | Null Yes
lastName String | NullableStringFieldUpdateOperationsInput | Null Yes
phone String | NullableStringFieldUpdateOperationsInput | Null Yes
birthDate DateTime | NullableDateTimeFieldUpdateOperationsInput | Null Yes
gender Gender | NullableEnumGenderFieldUpdateOperationsInput | Null Yes
photo String | NullableStringFieldUpdateOperationsInput | Null Yes
bio String | NullableStringFieldUpdateOperationsInput | Null Yes
userId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
userAddress UserAddressUncheckedUpdateManyWithoutUserProfileNestedInput No

UserCreateWithoutAuthoredReviewsInput

Name Type Nullable
email String No
createdAt DateTime No
updatedAt DateTime No
preference NullableJsonNullValueInput | Json No
balance Int No
authenticationToken AuthenticationTokenCreateNestedOneWithoutUserInput No
profile UserProfileCreateNestedOneWithoutUserInput No
cart CartCreateNestedOneWithoutUserInput No
login LoginCreateNestedOneWithoutUserInput No
roles UserRoleCreateNestedManyWithoutUserInput No
paymentMethod PaymentMethodCreateNestedManyWithoutUserInput No
orders OrderCreateNestedManyWithoutUserInput No

UserUncheckedCreateWithoutAuthoredReviewsInput

Name Type Nullable
id Int No
email String No
createdAt DateTime No
updatedAt DateTime No
preference NullableJsonNullValueInput | Json No
balance Int No
authenticationToken AuthenticationTokenUncheckedCreateNestedOneWithoutUserInput No
profile UserProfileUncheckedCreateNestedOneWithoutUserInput No
cart CartUncheckedCreateNestedOneWithoutUserInput No
login LoginUncheckedCreateNestedOneWithoutUserInput No
roles UserRoleUncheckedCreateNestedManyWithoutUserInput No
paymentMethod PaymentMethodUncheckedCreateNestedManyWithoutUserInput No
orders OrderUncheckedCreateNestedManyWithoutUserInput No

UserCreateOrConnectWithoutAuthoredReviewsInput

Name Type Nullable
where UserWhereUniqueInput No
create UserCreateWithoutAuthoredReviewsInput | UserUncheckedCreateWithoutAuthoredReviewsInput No

ProductCreateWithoutReviewsInput

Name Type Nullable
productName String No
productDesc String No
shortDesc String | Null Yes
grade Grade | Null Yes
sku String | Null Yes
price Decimal No
msrp Decimal | Null Yes
size String | Null Yes
weight Decimal | Null Yes
weightUnit String | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | Null Yes
soldQuantity Int | Null Yes
isActive Boolean | Null Yes
isAvailable Boolean | Null Yes
slug String | Null Yes
imageUrl String | Null Yes
createdAt DateTime No
updatedAt DateTime No
category CategoryCreateNestedOneWithoutProductInput No
orderDetail OrderDetailCreateNestedManyWithoutProductInput No
cartItem CartItemCreateNestedManyWithoutProductInput No
productInventory ProductInventoryCreateNestedManyWithoutProductInput No
productImage ProductImageCreateNestedManyWithoutProductInput No

ProductUncheckedCreateWithoutReviewsInput

Name Type Nullable
id Int No
productName String No
productDesc String No
shortDesc String | Null Yes
grade Grade | Null Yes
sku String | Null Yes
price Decimal No
msrp Decimal | Null Yes
size String | Null Yes
weight Decimal | Null Yes
weightUnit String | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | Null Yes
soldQuantity Int | Null Yes
isActive Boolean | Null Yes
isAvailable Boolean | Null Yes
slug String | Null Yes
imageUrl String | Null Yes
createdAt DateTime No
updatedAt DateTime No
categoryId Int No
orderDetail OrderDetailUncheckedCreateNestedManyWithoutProductInput No
cartItem CartItemUncheckedCreateNestedManyWithoutProductInput No
productInventory ProductInventoryUncheckedCreateNestedManyWithoutProductInput No
productImage ProductImageUncheckedCreateNestedManyWithoutProductInput No

ProductCreateOrConnectWithoutReviewsInput

Name Type Nullable
where ProductWhereUniqueInput No
create ProductCreateWithoutReviewsInput | ProductUncheckedCreateWithoutReviewsInput No


UserUpdateToOneWithWhereWithoutAuthoredReviewsInput

Name Type Nullable
where UserWhereInput No
data UserUpdateWithoutAuthoredReviewsInput | UserUncheckedUpdateWithoutAuthoredReviewsInput No


UserUncheckedUpdateWithoutAuthoredReviewsInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
email String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
preference NullableJsonNullValueInput | Json No
balance Int | IntFieldUpdateOperationsInput No
authenticationToken AuthenticationTokenUncheckedUpdateOneWithoutUserNestedInput No
profile UserProfileUncheckedUpdateOneWithoutUserNestedInput No
cart CartUncheckedUpdateOneWithoutUserNestedInput No
login LoginUncheckedUpdateOneWithoutUserNestedInput No
roles UserRoleUncheckedUpdateManyWithoutUserNestedInput No
paymentMethod PaymentMethodUncheckedUpdateManyWithoutUserNestedInput No
orders OrderUncheckedUpdateManyWithoutUserNestedInput No


ProductUpdateToOneWithWhereWithoutReviewsInput

Name Type Nullable
where ProductWhereInput No
data ProductUpdateWithoutReviewsInput | ProductUncheckedUpdateWithoutReviewsInput No

ProductUpdateWithoutReviewsInput

Name Type Nullable
productName String | StringFieldUpdateOperationsInput No
productDesc String | StringFieldUpdateOperationsInput No
shortDesc String | NullableStringFieldUpdateOperationsInput | Null Yes
grade Grade | NullableEnumGradeFieldUpdateOperationsInput | Null Yes
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
price Decimal | DecimalFieldUpdateOperationsInput No
msrp Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
size String | NullableStringFieldUpdateOperationsInput | Null Yes
weight Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
weightUnit String | NullableStringFieldUpdateOperationsInput | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
soldQuantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
isActive Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
isAvailable Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
imageUrl String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
category CategoryUpdateOneRequiredWithoutProductNestedInput No
orderDetail OrderDetailUpdateManyWithoutProductNestedInput No
cartItem CartItemUpdateManyWithoutProductNestedInput No
productInventory ProductInventoryUpdateManyWithoutProductNestedInput No
productImage ProductImageUpdateManyWithoutProductNestedInput No

ProductUncheckedUpdateWithoutReviewsInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
productName String | StringFieldUpdateOperationsInput No
productDesc String | StringFieldUpdateOperationsInput No
shortDesc String | NullableStringFieldUpdateOperationsInput | Null Yes
grade Grade | NullableEnumGradeFieldUpdateOperationsInput | Null Yes
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
price Decimal | DecimalFieldUpdateOperationsInput No
msrp Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
size String | NullableStringFieldUpdateOperationsInput | Null Yes
weight Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
weightUnit String | NullableStringFieldUpdateOperationsInput | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
soldQuantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
isActive Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
isAvailable Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
imageUrl String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
categoryId Int | IntFieldUpdateOperationsInput No
orderDetail OrderDetailUncheckedUpdateManyWithoutProductNestedInput No
cartItem CartItemUncheckedUpdateManyWithoutProductNestedInput No
productInventory ProductInventoryUncheckedUpdateManyWithoutProductNestedInput No
productImage ProductImageUncheckedUpdateManyWithoutProductNestedInput No

CategoryCreateWithoutPromotionCategoryInput

Name Type Nullable
categoryName String No
categoryDesc String No
slug String | Null Yes
createdAt DateTime No
updatedAt DateTime No
parentCategory CategoryCreateNestedOneWithoutChildCategoriesInput No
childCategories CategoryCreateNestedManyWithoutParentCategoryInput No
product ProductCreateNestedManyWithoutCategoryInput No

CategoryUncheckedCreateWithoutPromotionCategoryInput

Name Type Nullable
id Int No
categoryName String No
categoryDesc String No
slug String | Null Yes
createdAt DateTime No
updatedAt DateTime No
parentCategoryId Int | Null Yes
childCategories CategoryUncheckedCreateNestedManyWithoutParentCategoryInput No
product ProductUncheckedCreateNestedManyWithoutCategoryInput No

CategoryCreateOrConnectWithoutPromotionCategoryInput

Name Type Nullable
where CategoryWhereUniqueInput No
create CategoryCreateWithoutPromotionCategoryInput | CategoryUncheckedCreateWithoutPromotionCategoryInput No

PromotionCreateWithoutPromotionCategoryInput

Name Type Nullable
promotionName String No
promotionDesc String No
promotionRate Int No
isActive Boolean No
startDate DateTime No
endDate DateTime No
createdAt DateTime No
updatedAt DateTime No
CartItem CartItemCreateNestedOneWithoutPromotionInput No

PromotionUncheckedCreateWithoutPromotionCategoryInput

Name Type Nullable
id Int No
promotionName String No
promotionDesc String No
promotionRate Int No
isActive Boolean No
startDate DateTime No
endDate DateTime No
createdAt DateTime No
updatedAt DateTime No
CartItem CartItemUncheckedCreateNestedOneWithoutPromotionInput No

PromotionCreateOrConnectWithoutPromotionCategoryInput

Name Type Nullable
where PromotionWhereUniqueInput No
create PromotionCreateWithoutPromotionCategoryInput | PromotionUncheckedCreateWithoutPromotionCategoryInput No


CategoryUpdateToOneWithWhereWithoutPromotionCategoryInput

Name Type Nullable
where CategoryWhereInput No
data CategoryUpdateWithoutPromotionCategoryInput | CategoryUncheckedUpdateWithoutPromotionCategoryInput No

CategoryUpdateWithoutPromotionCategoryInput

Name Type Nullable
categoryName String | StringFieldUpdateOperationsInput No
categoryDesc String | StringFieldUpdateOperationsInput No
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
parentCategory CategoryUpdateOneWithoutChildCategoriesNestedInput No
childCategories CategoryUpdateManyWithoutParentCategoryNestedInput No
product ProductUpdateManyWithoutCategoryNestedInput No

CategoryUncheckedUpdateWithoutPromotionCategoryInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
categoryName String | StringFieldUpdateOperationsInput No
categoryDesc String | StringFieldUpdateOperationsInput No
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
parentCategoryId Int | NullableIntFieldUpdateOperationsInput | Null Yes
childCategories CategoryUncheckedUpdateManyWithoutParentCategoryNestedInput No
product ProductUncheckedUpdateManyWithoutCategoryNestedInput No


PromotionUpdateToOneWithWhereWithoutPromotionCategoryInput

Name Type Nullable
where PromotionWhereInput No
data PromotionUpdateWithoutPromotionCategoryInput | PromotionUncheckedUpdateWithoutPromotionCategoryInput No

PromotionUpdateWithoutPromotionCategoryInput

Name Type Nullable
promotionName String | StringFieldUpdateOperationsInput No
promotionDesc String | StringFieldUpdateOperationsInput No
promotionRate Int | IntFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
startDate DateTime | DateTimeFieldUpdateOperationsInput No
endDate DateTime | DateTimeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
CartItem CartItemUpdateOneWithoutPromotionNestedInput No

PromotionUncheckedUpdateWithoutPromotionCategoryInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
promotionName String | StringFieldUpdateOperationsInput No
promotionDesc String | StringFieldUpdateOperationsInput No
promotionRate Int | IntFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
startDate DateTime | DateTimeFieldUpdateOperationsInput No
endDate DateTime | DateTimeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
CartItem CartItemUncheckedUpdateOneWithoutPromotionNestedInput No

PromotionCategoryCreateWithoutPromotionInput

Name Type Nullable
createdAt DateTime No
updatedAt DateTime No
category CategoryCreateNestedOneWithoutPromotionCategoryInput No

PromotionCategoryUncheckedCreateWithoutPromotionInput

Name Type Nullable
id Int No
categoryId Int No
createdAt DateTime No
updatedAt DateTime No

PromotionCategoryCreateOrConnectWithoutPromotionInput

Name Type Nullable
where PromotionCategoryWhereUniqueInput No
create PromotionCategoryCreateWithoutPromotionInput | PromotionCategoryUncheckedCreateWithoutPromotionInput No

PromotionCategoryCreateManyPromotionInputEnvelope

Name Type Nullable
data PromotionCategoryCreateManyPromotionInput | PromotionCategoryCreateManyPromotionInput[] No
skipDuplicates Boolean No

CartItemCreateWithoutPromotionInput

Name Type Nullable
quantity Int No
createdAt DateTime No
updatedAt DateTime No
cart CartCreateNestedOneWithoutCartItemsInput No
product ProductCreateNestedOneWithoutCartItemInput No

CartItemUncheckedCreateWithoutPromotionInput

Name Type Nullable
id Int No
cartId Int No
productId Int No
quantity Int No
createdAt DateTime No
updatedAt DateTime No

CartItemCreateOrConnectWithoutPromotionInput

Name Type Nullable
where CartItemWhereUniqueInput No
create CartItemCreateWithoutPromotionInput | CartItemUncheckedCreateWithoutPromotionInput No


PromotionCategoryUpdateWithWhereUniqueWithoutPromotionInput

Name Type Nullable
where PromotionCategoryWhereUniqueInput No
data PromotionCategoryUpdateWithoutPromotionInput | PromotionCategoryUncheckedUpdateWithoutPromotionInput No

PromotionCategoryUpdateManyWithWhereWithoutPromotionInput

Name Type Nullable
where PromotionCategoryScalarWhereInput No
data PromotionCategoryUpdateManyMutationInput | PromotionCategoryUncheckedUpdateManyWithoutPromotionInput No


CartItemUpdateToOneWithWhereWithoutPromotionInput

Name Type Nullable
where CartItemWhereInput No
data CartItemUpdateWithoutPromotionInput | CartItemUncheckedUpdateWithoutPromotionInput No

CartItemUpdateWithoutPromotionInput

Name Type Nullable
quantity Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
cart CartUpdateOneRequiredWithoutCartItemsNestedInput No
product ProductUpdateOneRequiredWithoutCartItemNestedInput No

CartItemUncheckedUpdateWithoutPromotionInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
cartId Int | IntFieldUpdateOperationsInput No
productId Int | IntFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

CartCreateWithoutCartItemsInput

Name Type Nullable
createdAt DateTime No
updatedAt DateTime No
user UserCreateNestedOneWithoutCartInput No

CartUncheckedCreateWithoutCartItemsInput

Name Type Nullable
id Int No
userId Int No
createdAt DateTime No
updatedAt DateTime No

CartCreateOrConnectWithoutCartItemsInput

Name Type Nullable
where CartWhereUniqueInput No
create CartCreateWithoutCartItemsInput | CartUncheckedCreateWithoutCartItemsInput No

ProductCreateWithoutCartItemInput

Name Type Nullable
productName String No
productDesc String No
shortDesc String | Null Yes
grade Grade | Null Yes
sku String | Null Yes
price Decimal No
msrp Decimal | Null Yes
size String | Null Yes
weight Decimal | Null Yes
weightUnit String | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | Null Yes
soldQuantity Int | Null Yes
isActive Boolean | Null Yes
isAvailable Boolean | Null Yes
slug String | Null Yes
imageUrl String | Null Yes
createdAt DateTime No
updatedAt DateTime No
category CategoryCreateNestedOneWithoutProductInput No
orderDetail OrderDetailCreateNestedManyWithoutProductInput No
productInventory ProductInventoryCreateNestedManyWithoutProductInput No
productImage ProductImageCreateNestedManyWithoutProductInput No
reviews UserReviewCreateNestedManyWithoutProductInput No

ProductUncheckedCreateWithoutCartItemInput

Name Type Nullable
id Int No
productName String No
productDesc String No
shortDesc String | Null Yes
grade Grade | Null Yes
sku String | Null Yes
price Decimal No
msrp Decimal | Null Yes
size String | Null Yes
weight Decimal | Null Yes
weightUnit String | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | Null Yes
soldQuantity Int | Null Yes
isActive Boolean | Null Yes
isAvailable Boolean | Null Yes
slug String | Null Yes
imageUrl String | Null Yes
createdAt DateTime No
updatedAt DateTime No
categoryId Int No
orderDetail OrderDetailUncheckedCreateNestedManyWithoutProductInput No
productInventory ProductInventoryUncheckedCreateNestedManyWithoutProductInput No
productImage ProductImageUncheckedCreateNestedManyWithoutProductInput No
reviews UserReviewUncheckedCreateNestedManyWithoutProductInput No

ProductCreateOrConnectWithoutCartItemInput

Name Type Nullable
where ProductWhereUniqueInput No
create ProductCreateWithoutCartItemInput | ProductUncheckedCreateWithoutCartItemInput No

PromotionCreateWithoutCartItemInput

Name Type Nullable
promotionName String No
promotionDesc String No
promotionRate Int No
isActive Boolean No
startDate DateTime No
endDate DateTime No
createdAt DateTime No
updatedAt DateTime No
promotionCategory PromotionCategoryCreateNestedManyWithoutPromotionInput No

PromotionUncheckedCreateWithoutCartItemInput

Name Type Nullable
id Int No
promotionName String No
promotionDesc String No
promotionRate Int No
isActive Boolean No
startDate DateTime No
endDate DateTime No
createdAt DateTime No
updatedAt DateTime No
promotionCategory PromotionCategoryUncheckedCreateNestedManyWithoutPromotionInput No

PromotionCreateOrConnectWithoutCartItemInput

Name Type Nullable
where PromotionWhereUniqueInput No
create PromotionCreateWithoutCartItemInput | PromotionUncheckedCreateWithoutCartItemInput No


CartUpdateToOneWithWhereWithoutCartItemsInput

Name Type Nullable
where CartWhereInput No
data CartUpdateWithoutCartItemsInput | CartUncheckedUpdateWithoutCartItemsInput No

CartUpdateWithoutCartItemsInput

Name Type Nullable
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
user UserUpdateOneRequiredWithoutCartNestedInput No

CartUncheckedUpdateWithoutCartItemsInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
userId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No


ProductUpdateToOneWithWhereWithoutCartItemInput

Name Type Nullable
where ProductWhereInput No
data ProductUpdateWithoutCartItemInput | ProductUncheckedUpdateWithoutCartItemInput No

ProductUpdateWithoutCartItemInput

Name Type Nullable
productName String | StringFieldUpdateOperationsInput No
productDesc String | StringFieldUpdateOperationsInput No
shortDesc String | NullableStringFieldUpdateOperationsInput | Null Yes
grade Grade | NullableEnumGradeFieldUpdateOperationsInput | Null Yes
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
price Decimal | DecimalFieldUpdateOperationsInput No
msrp Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
size String | NullableStringFieldUpdateOperationsInput | Null Yes
weight Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
weightUnit String | NullableStringFieldUpdateOperationsInput | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
soldQuantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
isActive Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
isAvailable Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
imageUrl String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
category CategoryUpdateOneRequiredWithoutProductNestedInput No
orderDetail OrderDetailUpdateManyWithoutProductNestedInput No
productInventory ProductInventoryUpdateManyWithoutProductNestedInput No
productImage ProductImageUpdateManyWithoutProductNestedInput No
reviews UserReviewUpdateManyWithoutProductNestedInput No

ProductUncheckedUpdateWithoutCartItemInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
productName String | StringFieldUpdateOperationsInput No
productDesc String | StringFieldUpdateOperationsInput No
shortDesc String | NullableStringFieldUpdateOperationsInput | Null Yes
grade Grade | NullableEnumGradeFieldUpdateOperationsInput | Null Yes
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
price Decimal | DecimalFieldUpdateOperationsInput No
msrp Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
size String | NullableStringFieldUpdateOperationsInput | Null Yes
weight Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
weightUnit String | NullableStringFieldUpdateOperationsInput | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
soldQuantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
isActive Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
isAvailable Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
imageUrl String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
categoryId Int | IntFieldUpdateOperationsInput No
orderDetail OrderDetailUncheckedUpdateManyWithoutProductNestedInput No
productInventory ProductInventoryUncheckedUpdateManyWithoutProductNestedInput No
productImage ProductImageUncheckedUpdateManyWithoutProductNestedInput No
reviews UserReviewUncheckedUpdateManyWithoutProductNestedInput No


PromotionUpdateToOneWithWhereWithoutCartItemInput

Name Type Nullable
where PromotionWhereInput No
data PromotionUpdateWithoutCartItemInput | PromotionUncheckedUpdateWithoutCartItemInput No

PromotionUpdateWithoutCartItemInput

Name Type Nullable
promotionName String | StringFieldUpdateOperationsInput No
promotionDesc String | StringFieldUpdateOperationsInput No
promotionRate Int | IntFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
startDate DateTime | DateTimeFieldUpdateOperationsInput No
endDate DateTime | DateTimeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
promotionCategory PromotionCategoryUpdateManyWithoutPromotionNestedInput No

PromotionUncheckedUpdateWithoutCartItemInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
promotionName String | StringFieldUpdateOperationsInput No
promotionDesc String | StringFieldUpdateOperationsInput No
promotionRate Int | IntFieldUpdateOperationsInput No
isActive Boolean | BoolFieldUpdateOperationsInput No
startDate DateTime | DateTimeFieldUpdateOperationsInput No
endDate DateTime | DateTimeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
promotionCategory PromotionCategoryUncheckedUpdateManyWithoutPromotionNestedInput No

UserCreateWithoutCartInput

Name Type Nullable
email String No
createdAt DateTime No
updatedAt DateTime No
preference NullableJsonNullValueInput | Json No
balance Int No
authenticationToken AuthenticationTokenCreateNestedOneWithoutUserInput No
profile UserProfileCreateNestedOneWithoutUserInput No
authoredReviews UserReviewCreateNestedManyWithoutAuthorInput No
login LoginCreateNestedOneWithoutUserInput No
roles UserRoleCreateNestedManyWithoutUserInput No
paymentMethod PaymentMethodCreateNestedManyWithoutUserInput No
orders OrderCreateNestedManyWithoutUserInput No

UserUncheckedCreateWithoutCartInput

Name Type Nullable
id Int No
email String No
createdAt DateTime No
updatedAt DateTime No
preference NullableJsonNullValueInput | Json No
balance Int No
authenticationToken AuthenticationTokenUncheckedCreateNestedOneWithoutUserInput No
profile UserProfileUncheckedCreateNestedOneWithoutUserInput No
authoredReviews UserReviewUncheckedCreateNestedManyWithoutAuthorInput No
login LoginUncheckedCreateNestedOneWithoutUserInput No
roles UserRoleUncheckedCreateNestedManyWithoutUserInput No
paymentMethod PaymentMethodUncheckedCreateNestedManyWithoutUserInput No
orders OrderUncheckedCreateNestedManyWithoutUserInput No

UserCreateOrConnectWithoutCartInput

Name Type Nullable
where UserWhereUniqueInput No
create UserCreateWithoutCartInput | UserUncheckedCreateWithoutCartInput No

CartItemCreateWithoutCartInput

Name Type Nullable
quantity Int No
createdAt DateTime No
updatedAt DateTime No
product ProductCreateNestedOneWithoutCartItemInput No
Promotion PromotionCreateNestedOneWithoutCartItemInput No

CartItemUncheckedCreateWithoutCartInput

Name Type Nullable
id Int No
productId Int No
quantity Int No
promotionId Int | Null Yes
createdAt DateTime No
updatedAt DateTime No

CartItemCreateOrConnectWithoutCartInput

Name Type Nullable
where CartItemWhereUniqueInput No
create CartItemCreateWithoutCartInput | CartItemUncheckedCreateWithoutCartInput No

CartItemCreateManyCartInputEnvelope

Name Type Nullable
data CartItemCreateManyCartInput | CartItemCreateManyCartInput[] No
skipDuplicates Boolean No


UserUpdateToOneWithWhereWithoutCartInput

Name Type Nullable
where UserWhereInput No
data UserUpdateWithoutCartInput | UserUncheckedUpdateWithoutCartInput No


UserUncheckedUpdateWithoutCartInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
email String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
preference NullableJsonNullValueInput | Json No
balance Int | IntFieldUpdateOperationsInput No
authenticationToken AuthenticationTokenUncheckedUpdateOneWithoutUserNestedInput No
profile UserProfileUncheckedUpdateOneWithoutUserNestedInput No
authoredReviews UserReviewUncheckedUpdateManyWithoutAuthorNestedInput No
login LoginUncheckedUpdateOneWithoutUserNestedInput No
roles UserRoleUncheckedUpdateManyWithoutUserNestedInput No
paymentMethod PaymentMethodUncheckedUpdateManyWithoutUserNestedInput No
orders OrderUncheckedUpdateManyWithoutUserNestedInput No


CartItemUpdateWithWhereUniqueWithoutCartInput

Name Type Nullable
where CartItemWhereUniqueInput No
data CartItemUpdateWithoutCartInput | CartItemUncheckedUpdateWithoutCartInput No

CartItemUpdateManyWithWhereWithoutCartInput

Name Type Nullable
where CartItemScalarWhereInput No
data CartItemUpdateManyMutationInput | CartItemUncheckedUpdateManyWithoutCartInput No

UserCreateWithoutOrdersInput

Name Type Nullable
email String No
createdAt DateTime No
updatedAt DateTime No
preference NullableJsonNullValueInput | Json No
balance Int No
authenticationToken AuthenticationTokenCreateNestedOneWithoutUserInput No
profile UserProfileCreateNestedOneWithoutUserInput No
authoredReviews UserReviewCreateNestedManyWithoutAuthorInput No
cart CartCreateNestedOneWithoutUserInput No
login LoginCreateNestedOneWithoutUserInput No
roles UserRoleCreateNestedManyWithoutUserInput No
paymentMethod PaymentMethodCreateNestedManyWithoutUserInput No

UserUncheckedCreateWithoutOrdersInput

Name Type Nullable
id Int No
email String No
createdAt DateTime No
updatedAt DateTime No
preference NullableJsonNullValueInput | Json No
balance Int No
authenticationToken AuthenticationTokenUncheckedCreateNestedOneWithoutUserInput No
profile UserProfileUncheckedCreateNestedOneWithoutUserInput No
authoredReviews UserReviewUncheckedCreateNestedManyWithoutAuthorInput No
cart CartUncheckedCreateNestedOneWithoutUserInput No
login LoginUncheckedCreateNestedOneWithoutUserInput No
roles UserRoleUncheckedCreateNestedManyWithoutUserInput No
paymentMethod PaymentMethodUncheckedCreateNestedManyWithoutUserInput No

UserCreateOrConnectWithoutOrdersInput

Name Type Nullable
where UserWhereUniqueInput No
create UserCreateWithoutOrdersInput | UserUncheckedCreateWithoutOrdersInput No

ShippingDetailCreateWithoutOrderInput

Name Type Nullable
id Int No
estimatedArrival DateTime No
createdAt DateTime No
updatedAt DateTime No
shippingAddress AddressCreateNestedOneWithoutShippingDetailInput No
shippingMethod ShippingMethodCreateNestedOneWithoutShippingDetailInput No

ShippingDetailUncheckedCreateWithoutOrderInput

Name Type Nullable
id Int No
estimatedArrival DateTime No
shippingAddressId Int No
shippingMethodId Int No
createdAt DateTime No
updatedAt DateTime No

ShippingDetailCreateOrConnectWithoutOrderInput

Name Type Nullable
where ShippingDetailWhereUniqueInput No
create ShippingDetailCreateWithoutOrderInput | ShippingDetailUncheckedCreateWithoutOrderInput No

PaymentDetailCreateWithoutOrderInput

Name Type Nullable
id Int No
createdAt DateTime No
updatedAt DateTime No
paymentMethod PaymentMethodCreateNestedManyWithoutPaymentDetailInput No
billingAddress AddressCreateNestedOneWithoutPaymentDetailInput No

PaymentDetailUncheckedCreateWithoutOrderInput

Name Type Nullable
id Int No
billingAddressId Int No
createdAt DateTime No
updatedAt DateTime No
paymentMethod PaymentMethodUncheckedCreateNestedManyWithoutPaymentDetailInput No

PaymentDetailCreateOrConnectWithoutOrderInput

Name Type Nullable
where PaymentDetailWhereUniqueInput No
create PaymentDetailCreateWithoutOrderInput | PaymentDetailUncheckedCreateWithoutOrderInput No

OrderDetailCreateWithoutOrderInput

Name Type Nullable
id Int No
quantity Int No
total Decimal No
createdAt DateTime No
updatedAt DateTime No
product ProductCreateNestedOneWithoutOrderDetailInput No

OrderDetailUncheckedCreateWithoutOrderInput

Name Type Nullable
id Int No
productId Int No
quantity Int No
total Decimal No
createdAt DateTime No
updatedAt DateTime No

OrderDetailCreateOrConnectWithoutOrderInput

Name Type Nullable
where OrderDetailWhereUniqueInput No
create OrderDetailCreateWithoutOrderInput | OrderDetailUncheckedCreateWithoutOrderInput No

OrderDetailCreateManyOrderInputEnvelope

Name Type Nullable
data OrderDetailCreateManyOrderInput | OrderDetailCreateManyOrderInput[] No
skipDuplicates Boolean No


UserUpdateToOneWithWhereWithoutOrdersInput

Name Type Nullable
where UserWhereInput No
data UserUpdateWithoutOrdersInput | UserUncheckedUpdateWithoutOrdersInput No


UserUncheckedUpdateWithoutOrdersInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
email String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
preference NullableJsonNullValueInput | Json No
balance Int | IntFieldUpdateOperationsInput No
authenticationToken AuthenticationTokenUncheckedUpdateOneWithoutUserNestedInput No
profile UserProfileUncheckedUpdateOneWithoutUserNestedInput No
authoredReviews UserReviewUncheckedUpdateManyWithoutAuthorNestedInput No
cart CartUncheckedUpdateOneWithoutUserNestedInput No
login LoginUncheckedUpdateOneWithoutUserNestedInput No
roles UserRoleUncheckedUpdateManyWithoutUserNestedInput No
paymentMethod PaymentMethodUncheckedUpdateManyWithoutUserNestedInput No


ShippingDetailUpdateToOneWithWhereWithoutOrderInput

Name Type Nullable
where ShippingDetailWhereInput No
data ShippingDetailUpdateWithoutOrderInput | ShippingDetailUncheckedUpdateWithoutOrderInput No

ShippingDetailUpdateWithoutOrderInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
estimatedArrival DateTime | DateTimeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
shippingAddress AddressUpdateOneRequiredWithoutShippingDetailNestedInput No
shippingMethod ShippingMethodUpdateOneRequiredWithoutShippingDetailNestedInput No

ShippingDetailUncheckedUpdateWithoutOrderInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
estimatedArrival DateTime | DateTimeFieldUpdateOperationsInput No
shippingAddressId Int | IntFieldUpdateOperationsInput No
shippingMethodId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No


PaymentDetailUpdateToOneWithWhereWithoutOrderInput

Name Type Nullable
where PaymentDetailWhereInput No
data PaymentDetailUpdateWithoutOrderInput | PaymentDetailUncheckedUpdateWithoutOrderInput No

PaymentDetailUpdateWithoutOrderInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
paymentMethod PaymentMethodUpdateManyWithoutPaymentDetailNestedInput No
billingAddress AddressUpdateOneRequiredWithoutPaymentDetailNestedInput No

PaymentDetailUncheckedUpdateWithoutOrderInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
billingAddressId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
paymentMethod PaymentMethodUncheckedUpdateManyWithoutPaymentDetailNestedInput No


OrderDetailUpdateWithWhereUniqueWithoutOrderInput

Name Type Nullable
where OrderDetailWhereUniqueInput No
data OrderDetailUpdateWithoutOrderInput | OrderDetailUncheckedUpdateWithoutOrderInput No

OrderDetailUpdateManyWithWhereWithoutOrderInput

Name Type Nullable
where OrderDetailScalarWhereInput No
data OrderDetailUpdateManyMutationInput | OrderDetailUncheckedUpdateManyWithoutOrderInput No

ProductCreateWithoutOrderDetailInput

Name Type Nullable
productName String No
productDesc String No
shortDesc String | Null Yes
grade Grade | Null Yes
sku String | Null Yes
price Decimal No
msrp Decimal | Null Yes
size String | Null Yes
weight Decimal | Null Yes
weightUnit String | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | Null Yes
soldQuantity Int | Null Yes
isActive Boolean | Null Yes
isAvailable Boolean | Null Yes
slug String | Null Yes
imageUrl String | Null Yes
createdAt DateTime No
updatedAt DateTime No
category CategoryCreateNestedOneWithoutProductInput No
cartItem CartItemCreateNestedManyWithoutProductInput No
productInventory ProductInventoryCreateNestedManyWithoutProductInput No
productImage ProductImageCreateNestedManyWithoutProductInput No
reviews UserReviewCreateNestedManyWithoutProductInput No

ProductUncheckedCreateWithoutOrderDetailInput

Name Type Nullable
id Int No
productName String No
productDesc String No
shortDesc String | Null Yes
grade Grade | Null Yes
sku String | Null Yes
price Decimal No
msrp Decimal | Null Yes
size String | Null Yes
weight Decimal | Null Yes
weightUnit String | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | Null Yes
soldQuantity Int | Null Yes
isActive Boolean | Null Yes
isAvailable Boolean | Null Yes
slug String | Null Yes
imageUrl String | Null Yes
createdAt DateTime No
updatedAt DateTime No
categoryId Int No
cartItem CartItemUncheckedCreateNestedManyWithoutProductInput No
productInventory ProductInventoryUncheckedCreateNestedManyWithoutProductInput No
productImage ProductImageUncheckedCreateNestedManyWithoutProductInput No
reviews UserReviewUncheckedCreateNestedManyWithoutProductInput No

ProductCreateOrConnectWithoutOrderDetailInput

Name Type Nullable
where ProductWhereUniqueInput No
create ProductCreateWithoutOrderDetailInput | ProductUncheckedCreateWithoutOrderDetailInput No

OrderCreateWithoutOrderDetailInput

Name Type Nullable
id String No
status OrderStatusType No
tax Decimal No
total Decimal No
createdAt DateTime No
updatedAt DateTime No
user UserCreateNestedOneWithoutOrdersInput No
shippingDetail ShippingDetailCreateNestedOneWithoutOrderInput No
paymentDetail PaymentDetailCreateNestedOneWithoutOrderInput No

OrderUncheckedCreateWithoutOrderDetailInput

Name Type Nullable
id String No
status OrderStatusType No
tax Decimal No
total Decimal No
createdAt DateTime No
userId Int No
updatedAt DateTime No
shippingDetail ShippingDetailUncheckedCreateNestedOneWithoutOrderInput No
paymentDetail PaymentDetailUncheckedCreateNestedOneWithoutOrderInput No

OrderCreateOrConnectWithoutOrderDetailInput

Name Type Nullable
where OrderWhereUniqueInput No
create OrderCreateWithoutOrderDetailInput | OrderUncheckedCreateWithoutOrderDetailInput No


ProductUpdateToOneWithWhereWithoutOrderDetailInput

Name Type Nullable
where ProductWhereInput No
data ProductUpdateWithoutOrderDetailInput | ProductUncheckedUpdateWithoutOrderDetailInput No

ProductUpdateWithoutOrderDetailInput

Name Type Nullable
productName String | StringFieldUpdateOperationsInput No
productDesc String | StringFieldUpdateOperationsInput No
shortDesc String | NullableStringFieldUpdateOperationsInput | Null Yes
grade Grade | NullableEnumGradeFieldUpdateOperationsInput | Null Yes
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
price Decimal | DecimalFieldUpdateOperationsInput No
msrp Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
size String | NullableStringFieldUpdateOperationsInput | Null Yes
weight Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
weightUnit String | NullableStringFieldUpdateOperationsInput | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
soldQuantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
isActive Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
isAvailable Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
imageUrl String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
category CategoryUpdateOneRequiredWithoutProductNestedInput No
cartItem CartItemUpdateManyWithoutProductNestedInput No
productInventory ProductInventoryUpdateManyWithoutProductNestedInput No
productImage ProductImageUpdateManyWithoutProductNestedInput No
reviews UserReviewUpdateManyWithoutProductNestedInput No

ProductUncheckedUpdateWithoutOrderDetailInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
productName String | StringFieldUpdateOperationsInput No
productDesc String | StringFieldUpdateOperationsInput No
shortDesc String | NullableStringFieldUpdateOperationsInput | Null Yes
grade Grade | NullableEnumGradeFieldUpdateOperationsInput | Null Yes
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
price Decimal | DecimalFieldUpdateOperationsInput No
msrp Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
size String | NullableStringFieldUpdateOperationsInput | Null Yes
weight Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
weightUnit String | NullableStringFieldUpdateOperationsInput | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
soldQuantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
isActive Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
isAvailable Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
imageUrl String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
categoryId Int | IntFieldUpdateOperationsInput No
cartItem CartItemUncheckedUpdateManyWithoutProductNestedInput No
productInventory ProductInventoryUncheckedUpdateManyWithoutProductNestedInput No
productImage ProductImageUncheckedUpdateManyWithoutProductNestedInput No
reviews UserReviewUncheckedUpdateManyWithoutProductNestedInput No


OrderUpdateToOneWithWhereWithoutOrderDetailInput

Name Type Nullable
where OrderWhereInput No
data OrderUpdateWithoutOrderDetailInput | OrderUncheckedUpdateWithoutOrderDetailInput No



PaymentMethodCreateWithoutPaymentDetailInput

Name Type Nullable
id Int No
cardProvider String | Null Yes
nameOnCard String | Null Yes
isDefault Boolean No
createdAt DateTime No
updatedAt DateTime No
user UserCreateNestedOneWithoutPaymentMethodInput No
paymentOption PaymentOptionCreateNestedOneWithoutPaymentMethodInput No

PaymentMethodUncheckedCreateWithoutPaymentDetailInput

Name Type Nullable
id Int No
userId Int No
paymentOptionId Int No
cardProvider String | Null Yes
nameOnCard String | Null Yes
isDefault Boolean No
createdAt DateTime No
updatedAt DateTime No

PaymentMethodCreateOrConnectWithoutPaymentDetailInput

Name Type Nullable
where PaymentMethodWhereUniqueInput No
create PaymentMethodCreateWithoutPaymentDetailInput | PaymentMethodUncheckedCreateWithoutPaymentDetailInput No

PaymentMethodCreateManyPaymentDetailInputEnvelope

Name Type Nullable
data PaymentMethodCreateManyPaymentDetailInput | PaymentMethodCreateManyPaymentDetailInput[] No
skipDuplicates Boolean No

AddressCreateWithoutPaymentDetailInput

Name Type Nullable
street String No
unit String No
city String No
zipcode String No
state String No
country String No
planet String | Null Yes
solarSystem String | Null Yes
galaxy String | Null Yes
localGroup String | Null Yes
localCluster String | Null Yes
universe String | Null Yes
createdAt DateTime No
updatedAt DateTime No
userAddress UserAddressCreateNestedManyWithoutAddressInput No
shippingDetail ShippingDetailCreateNestedManyWithoutShippingAddressInput No

AddressUncheckedCreateWithoutPaymentDetailInput

Name Type Nullable
id Int No
street String No
unit String No
city String No
zipcode String No
state String No
country String No
planet String | Null Yes
solarSystem String | Null Yes
galaxy String | Null Yes
localGroup String | Null Yes
localCluster String | Null Yes
universe String | Null Yes
createdAt DateTime No
updatedAt DateTime No
userAddress UserAddressUncheckedCreateNestedManyWithoutAddressInput No
shippingDetail ShippingDetailUncheckedCreateNestedManyWithoutShippingAddressInput No

AddressCreateOrConnectWithoutPaymentDetailInput

Name Type Nullable
where AddressWhereUniqueInput No
create AddressCreateWithoutPaymentDetailInput | AddressUncheckedCreateWithoutPaymentDetailInput No

OrderCreateWithoutPaymentDetailInput

Name Type Nullable
id String No
status OrderStatusType No
tax Decimal No
total Decimal No
createdAt DateTime No
updatedAt DateTime No
user UserCreateNestedOneWithoutOrdersInput No
shippingDetail ShippingDetailCreateNestedOneWithoutOrderInput No
orderDetail OrderDetailCreateNestedManyWithoutOrderInput No

OrderUncheckedCreateWithoutPaymentDetailInput

Name Type Nullable
id String No
status OrderStatusType No
tax Decimal No
total Decimal No
createdAt DateTime No
userId Int No
updatedAt DateTime No
shippingDetail ShippingDetailUncheckedCreateNestedOneWithoutOrderInput No
orderDetail OrderDetailUncheckedCreateNestedManyWithoutOrderInput No

OrderCreateOrConnectWithoutPaymentDetailInput

Name Type Nullable
where OrderWhereUniqueInput No
create OrderCreateWithoutPaymentDetailInput | OrderUncheckedCreateWithoutPaymentDetailInput No


PaymentMethodUpdateWithWhereUniqueWithoutPaymentDetailInput

Name Type Nullable
where PaymentMethodWhereUniqueInput No
data PaymentMethodUpdateWithoutPaymentDetailInput | PaymentMethodUncheckedUpdateWithoutPaymentDetailInput No

PaymentMethodUpdateManyWithWhereWithoutPaymentDetailInput

Name Type Nullable
where PaymentMethodScalarWhereInput No
data PaymentMethodUpdateManyMutationInput | PaymentMethodUncheckedUpdateManyWithoutPaymentDetailInput No


AddressUpdateToOneWithWhereWithoutPaymentDetailInput

Name Type Nullable
where AddressWhereInput No
data AddressUpdateWithoutPaymentDetailInput | AddressUncheckedUpdateWithoutPaymentDetailInput No

AddressUpdateWithoutPaymentDetailInput

Name Type Nullable
street String | StringFieldUpdateOperationsInput No
unit String | StringFieldUpdateOperationsInput No
city String | StringFieldUpdateOperationsInput No
zipcode String | StringFieldUpdateOperationsInput No
state String | StringFieldUpdateOperationsInput No
country String | StringFieldUpdateOperationsInput No
planet String | NullableStringFieldUpdateOperationsInput | Null Yes
solarSystem String | NullableStringFieldUpdateOperationsInput | Null Yes
galaxy String | NullableStringFieldUpdateOperationsInput | Null Yes
localGroup String | NullableStringFieldUpdateOperationsInput | Null Yes
localCluster String | NullableStringFieldUpdateOperationsInput | Null Yes
universe String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
userAddress UserAddressUpdateManyWithoutAddressNestedInput No
shippingDetail ShippingDetailUpdateManyWithoutShippingAddressNestedInput No

AddressUncheckedUpdateWithoutPaymentDetailInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
street String | StringFieldUpdateOperationsInput No
unit String | StringFieldUpdateOperationsInput No
city String | StringFieldUpdateOperationsInput No
zipcode String | StringFieldUpdateOperationsInput No
state String | StringFieldUpdateOperationsInput No
country String | StringFieldUpdateOperationsInput No
planet String | NullableStringFieldUpdateOperationsInput | Null Yes
solarSystem String | NullableStringFieldUpdateOperationsInput | Null Yes
galaxy String | NullableStringFieldUpdateOperationsInput | Null Yes
localGroup String | NullableStringFieldUpdateOperationsInput | Null Yes
localCluster String | NullableStringFieldUpdateOperationsInput | Null Yes
universe String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
userAddress UserAddressUncheckedUpdateManyWithoutAddressNestedInput No
shippingDetail ShippingDetailUncheckedUpdateManyWithoutShippingAddressNestedInput No


OrderUpdateToOneWithWhereWithoutPaymentDetailInput

Name Type Nullable
where OrderWhereInput No
data OrderUpdateWithoutPaymentDetailInput | OrderUncheckedUpdateWithoutPaymentDetailInput No



PaymentMethodCreateWithoutPaymentOptionInput

Name Type Nullable
id Int No
cardProvider String | Null Yes
nameOnCard String | Null Yes
isDefault Boolean No
createdAt DateTime No
updatedAt DateTime No
user UserCreateNestedOneWithoutPaymentMethodInput No
paymentDetail PaymentDetailCreateNestedOneWithoutPaymentMethodInput No

PaymentMethodUncheckedCreateWithoutPaymentOptionInput

Name Type Nullable
id Int No
userId Int No
paymentDetailId Int No
cardProvider String | Null Yes
nameOnCard String | Null Yes
isDefault Boolean No
createdAt DateTime No
updatedAt DateTime No

PaymentMethodCreateOrConnectWithoutPaymentOptionInput

Name Type Nullable
where PaymentMethodWhereUniqueInput No
create PaymentMethodCreateWithoutPaymentOptionInput | PaymentMethodUncheckedCreateWithoutPaymentOptionInput No

PaymentMethodCreateManyPaymentOptionInputEnvelope

Name Type Nullable
data PaymentMethodCreateManyPaymentOptionInput | PaymentMethodCreateManyPaymentOptionInput[] No
skipDuplicates Boolean No


PaymentMethodUpdateWithWhereUniqueWithoutPaymentOptionInput

Name Type Nullable
where PaymentMethodWhereUniqueInput No
data PaymentMethodUpdateWithoutPaymentOptionInput | PaymentMethodUncheckedUpdateWithoutPaymentOptionInput No

PaymentMethodUpdateManyWithWhereWithoutPaymentOptionInput

Name Type Nullable
where PaymentMethodScalarWhereInput No
data PaymentMethodUpdateManyMutationInput | PaymentMethodUncheckedUpdateManyWithoutPaymentOptionInput No

UserCreateWithoutPaymentMethodInput

Name Type Nullable
email String No
createdAt DateTime No
updatedAt DateTime No
preference NullableJsonNullValueInput | Json No
balance Int No
authenticationToken AuthenticationTokenCreateNestedOneWithoutUserInput No
profile UserProfileCreateNestedOneWithoutUserInput No
authoredReviews UserReviewCreateNestedManyWithoutAuthorInput No
cart CartCreateNestedOneWithoutUserInput No
login LoginCreateNestedOneWithoutUserInput No
roles UserRoleCreateNestedManyWithoutUserInput No
orders OrderCreateNestedManyWithoutUserInput No

UserUncheckedCreateWithoutPaymentMethodInput

Name Type Nullable
id Int No
email String No
createdAt DateTime No
updatedAt DateTime No
preference NullableJsonNullValueInput | Json No
balance Int No
authenticationToken AuthenticationTokenUncheckedCreateNestedOneWithoutUserInput No
profile UserProfileUncheckedCreateNestedOneWithoutUserInput No
authoredReviews UserReviewUncheckedCreateNestedManyWithoutAuthorInput No
cart CartUncheckedCreateNestedOneWithoutUserInput No
login LoginUncheckedCreateNestedOneWithoutUserInput No
roles UserRoleUncheckedCreateNestedManyWithoutUserInput No
orders OrderUncheckedCreateNestedManyWithoutUserInput No

UserCreateOrConnectWithoutPaymentMethodInput

Name Type Nullable
where UserWhereUniqueInput No
create UserCreateWithoutPaymentMethodInput | UserUncheckedCreateWithoutPaymentMethodInput No

PaymentDetailCreateWithoutPaymentMethodInput

Name Type Nullable
id Int No
createdAt DateTime No
updatedAt DateTime No
billingAddress AddressCreateNestedOneWithoutPaymentDetailInput No
order OrderCreateNestedOneWithoutPaymentDetailInput No

PaymentDetailUncheckedCreateWithoutPaymentMethodInput

Name Type Nullable
id Int No
billingAddressId Int No
orderId String No
createdAt DateTime No
updatedAt DateTime No

PaymentDetailCreateOrConnectWithoutPaymentMethodInput

Name Type Nullable
where PaymentDetailWhereUniqueInput No
create PaymentDetailCreateWithoutPaymentMethodInput | PaymentDetailUncheckedCreateWithoutPaymentMethodInput No

PaymentOptionCreateWithoutPaymentMethodInput

Name Type Nullable
id Int No
paymentType PaymentType No
createdAt DateTime No
updatedAt DateTime No

PaymentOptionUncheckedCreateWithoutPaymentMethodInput

Name Type Nullable
id Int No
paymentType PaymentType No
createdAt DateTime No
updatedAt DateTime No

PaymentOptionCreateOrConnectWithoutPaymentMethodInput

Name Type Nullable
where PaymentOptionWhereUniqueInput No
create PaymentOptionCreateWithoutPaymentMethodInput | PaymentOptionUncheckedCreateWithoutPaymentMethodInput No


UserUpdateToOneWithWhereWithoutPaymentMethodInput

Name Type Nullable
where UserWhereInput No
data UserUpdateWithoutPaymentMethodInput | UserUncheckedUpdateWithoutPaymentMethodInput No


UserUncheckedUpdateWithoutPaymentMethodInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
email String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
preference NullableJsonNullValueInput | Json No
balance Int | IntFieldUpdateOperationsInput No
authenticationToken AuthenticationTokenUncheckedUpdateOneWithoutUserNestedInput No
profile UserProfileUncheckedUpdateOneWithoutUserNestedInput No
authoredReviews UserReviewUncheckedUpdateManyWithoutAuthorNestedInput No
cart CartUncheckedUpdateOneWithoutUserNestedInput No
login LoginUncheckedUpdateOneWithoutUserNestedInput No
roles UserRoleUncheckedUpdateManyWithoutUserNestedInput No
orders OrderUncheckedUpdateManyWithoutUserNestedInput No


PaymentDetailUpdateToOneWithWhereWithoutPaymentMethodInput

Name Type Nullable
where PaymentDetailWhereInput No
data PaymentDetailUpdateWithoutPaymentMethodInput | PaymentDetailUncheckedUpdateWithoutPaymentMethodInput No

PaymentDetailUpdateWithoutPaymentMethodInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
billingAddress AddressUpdateOneRequiredWithoutPaymentDetailNestedInput No
order OrderUpdateOneRequiredWithoutPaymentDetailNestedInput No

PaymentDetailUncheckedUpdateWithoutPaymentMethodInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
billingAddressId Int | IntFieldUpdateOperationsInput No
orderId String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No


PaymentOptionUpdateToOneWithWhereWithoutPaymentMethodInput

Name Type Nullable
where PaymentOptionWhereInput No
data PaymentOptionUpdateWithoutPaymentMethodInput | PaymentOptionUncheckedUpdateWithoutPaymentMethodInput No

PaymentOptionUpdateWithoutPaymentMethodInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
paymentType PaymentType | EnumPaymentTypeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PaymentOptionUncheckedUpdateWithoutPaymentMethodInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
paymentType PaymentType | EnumPaymentTypeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

AddressCreateWithoutShippingDetailInput

Name Type Nullable
street String No
unit String No
city String No
zipcode String No
state String No
country String No
planet String | Null Yes
solarSystem String | Null Yes
galaxy String | Null Yes
localGroup String | Null Yes
localCluster String | Null Yes
universe String | Null Yes
createdAt DateTime No
updatedAt DateTime No
userAddress UserAddressCreateNestedManyWithoutAddressInput No
paymentDetail PaymentDetailCreateNestedManyWithoutBillingAddressInput No

AddressUncheckedCreateWithoutShippingDetailInput

Name Type Nullable
id Int No
street String No
unit String No
city String No
zipcode String No
state String No
country String No
planet String | Null Yes
solarSystem String | Null Yes
galaxy String | Null Yes
localGroup String | Null Yes
localCluster String | Null Yes
universe String | Null Yes
createdAt DateTime No
updatedAt DateTime No
userAddress UserAddressUncheckedCreateNestedManyWithoutAddressInput No
paymentDetail PaymentDetailUncheckedCreateNestedManyWithoutBillingAddressInput No

AddressCreateOrConnectWithoutShippingDetailInput

Name Type Nullable
where AddressWhereUniqueInput No
create AddressCreateWithoutShippingDetailInput | AddressUncheckedCreateWithoutShippingDetailInput No

ShippingMethodCreateWithoutShippingDetailInput

Name Type Nullable
id Int No
name String No
price Decimal No
createdAt DateTime No
updatedAt DateTime No

ShippingMethodUncheckedCreateWithoutShippingDetailInput

Name Type Nullable
id Int No
name String No
price Decimal No
createdAt DateTime No
updatedAt DateTime No

ShippingMethodCreateOrConnectWithoutShippingDetailInput

Name Type Nullable
where ShippingMethodWhereUniqueInput No
create ShippingMethodCreateWithoutShippingDetailInput | ShippingMethodUncheckedCreateWithoutShippingDetailInput No

OrderCreateWithoutShippingDetailInput

Name Type Nullable
id String No
status OrderStatusType No
tax Decimal No
total Decimal No
createdAt DateTime No
updatedAt DateTime No
user UserCreateNestedOneWithoutOrdersInput No
paymentDetail PaymentDetailCreateNestedOneWithoutOrderInput No
orderDetail OrderDetailCreateNestedManyWithoutOrderInput No

OrderUncheckedCreateWithoutShippingDetailInput

Name Type Nullable
id String No
status OrderStatusType No
tax Decimal No
total Decimal No
createdAt DateTime No
userId Int No
updatedAt DateTime No
paymentDetail PaymentDetailUncheckedCreateNestedOneWithoutOrderInput No
orderDetail OrderDetailUncheckedCreateNestedManyWithoutOrderInput No

OrderCreateOrConnectWithoutShippingDetailInput

Name Type Nullable
where OrderWhereUniqueInput No
create OrderCreateWithoutShippingDetailInput | OrderUncheckedCreateWithoutShippingDetailInput No


AddressUpdateToOneWithWhereWithoutShippingDetailInput

Name Type Nullable
where AddressWhereInput No
data AddressUpdateWithoutShippingDetailInput | AddressUncheckedUpdateWithoutShippingDetailInput No

AddressUpdateWithoutShippingDetailInput

Name Type Nullable
street String | StringFieldUpdateOperationsInput No
unit String | StringFieldUpdateOperationsInput No
city String | StringFieldUpdateOperationsInput No
zipcode String | StringFieldUpdateOperationsInput No
state String | StringFieldUpdateOperationsInput No
country String | StringFieldUpdateOperationsInput No
planet String | NullableStringFieldUpdateOperationsInput | Null Yes
solarSystem String | NullableStringFieldUpdateOperationsInput | Null Yes
galaxy String | NullableStringFieldUpdateOperationsInput | Null Yes
localGroup String | NullableStringFieldUpdateOperationsInput | Null Yes
localCluster String | NullableStringFieldUpdateOperationsInput | Null Yes
universe String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
userAddress UserAddressUpdateManyWithoutAddressNestedInput No
paymentDetail PaymentDetailUpdateManyWithoutBillingAddressNestedInput No

AddressUncheckedUpdateWithoutShippingDetailInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
street String | StringFieldUpdateOperationsInput No
unit String | StringFieldUpdateOperationsInput No
city String | StringFieldUpdateOperationsInput No
zipcode String | StringFieldUpdateOperationsInput No
state String | StringFieldUpdateOperationsInput No
country String | StringFieldUpdateOperationsInput No
planet String | NullableStringFieldUpdateOperationsInput | Null Yes
solarSystem String | NullableStringFieldUpdateOperationsInput | Null Yes
galaxy String | NullableStringFieldUpdateOperationsInput | Null Yes
localGroup String | NullableStringFieldUpdateOperationsInput | Null Yes
localCluster String | NullableStringFieldUpdateOperationsInput | Null Yes
universe String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
userAddress UserAddressUncheckedUpdateManyWithoutAddressNestedInput No
paymentDetail PaymentDetailUncheckedUpdateManyWithoutBillingAddressNestedInput No


ShippingMethodUpdateToOneWithWhereWithoutShippingDetailInput

Name Type Nullable
where ShippingMethodWhereInput No
data ShippingMethodUpdateWithoutShippingDetailInput | ShippingMethodUncheckedUpdateWithoutShippingDetailInput No

ShippingMethodUpdateWithoutShippingDetailInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
price Decimal | DecimalFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ShippingMethodUncheckedUpdateWithoutShippingDetailInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
price Decimal | DecimalFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No


OrderUpdateToOneWithWhereWithoutShippingDetailInput

Name Type Nullable
where OrderWhereInput No
data OrderUpdateWithoutShippingDetailInput | OrderUncheckedUpdateWithoutShippingDetailInput No



ShippingDetailCreateWithoutShippingMethodInput

Name Type Nullable
id Int No
estimatedArrival DateTime No
createdAt DateTime No
updatedAt DateTime No
shippingAddress AddressCreateNestedOneWithoutShippingDetailInput No
order OrderCreateNestedOneWithoutShippingDetailInput No

ShippingDetailUncheckedCreateWithoutShippingMethodInput

Name Type Nullable
id Int No
estimatedArrival DateTime No
shippingAddressId Int No
orderId String No
createdAt DateTime No
updatedAt DateTime No

ShippingDetailCreateOrConnectWithoutShippingMethodInput

Name Type Nullable
where ShippingDetailWhereUniqueInput No
create ShippingDetailCreateWithoutShippingMethodInput | ShippingDetailUncheckedCreateWithoutShippingMethodInput No

ShippingDetailCreateManyShippingMethodInputEnvelope

Name Type Nullable
data ShippingDetailCreateManyShippingMethodInput | ShippingDetailCreateManyShippingMethodInput[] No
skipDuplicates Boolean No


ShippingDetailUpdateWithWhereUniqueWithoutShippingMethodInput

Name Type Nullable
where ShippingDetailWhereUniqueInput No
data ShippingDetailUpdateWithoutShippingMethodInput | ShippingDetailUncheckedUpdateWithoutShippingMethodInput No

ShippingDetailUpdateManyWithWhereWithoutShippingMethodInput

Name Type Nullable
where ShippingDetailScalarWhereInput No
data ShippingDetailUpdateManyMutationInput | ShippingDetailUncheckedUpdateManyWithoutShippingMethodInput No

UserCreateWithoutRolesInput

Name Type Nullable
email String No
createdAt DateTime No
updatedAt DateTime No
preference NullableJsonNullValueInput | Json No
balance Int No
authenticationToken AuthenticationTokenCreateNestedOneWithoutUserInput No
profile UserProfileCreateNestedOneWithoutUserInput No
authoredReviews UserReviewCreateNestedManyWithoutAuthorInput No
cart CartCreateNestedOneWithoutUserInput No
login LoginCreateNestedOneWithoutUserInput No
paymentMethod PaymentMethodCreateNestedManyWithoutUserInput No
orders OrderCreateNestedManyWithoutUserInput No

UserUncheckedCreateWithoutRolesInput

Name Type Nullable
id Int No
email String No
createdAt DateTime No
updatedAt DateTime No
preference NullableJsonNullValueInput | Json No
balance Int No
authenticationToken AuthenticationTokenUncheckedCreateNestedOneWithoutUserInput No
profile UserProfileUncheckedCreateNestedOneWithoutUserInput No
authoredReviews UserReviewUncheckedCreateNestedManyWithoutAuthorInput No
cart CartUncheckedCreateNestedOneWithoutUserInput No
login LoginUncheckedCreateNestedOneWithoutUserInput No
paymentMethod PaymentMethodUncheckedCreateNestedManyWithoutUserInput No
orders OrderUncheckedCreateNestedManyWithoutUserInput No

UserCreateOrConnectWithoutRolesInput

Name Type Nullable
where UserWhereUniqueInput No
create UserCreateWithoutRolesInput | UserUncheckedCreateWithoutRolesInput No

RoleCreateWithoutUsersInput

Name Type Nullable
name String No
createdAt DateTime No
updatedAt DateTime No
permissions RolePermissionCreateNestedManyWithoutRoleInput No

RoleUncheckedCreateWithoutUsersInput

Name Type Nullable
id Int No
name String No
createdAt DateTime No
updatedAt DateTime No
permissions RolePermissionUncheckedCreateNestedManyWithoutRoleInput No

RoleCreateOrConnectWithoutUsersInput

Name Type Nullable
where RoleWhereUniqueInput No
create RoleCreateWithoutUsersInput | RoleUncheckedCreateWithoutUsersInput No


UserUpdateToOneWithWhereWithoutRolesInput

Name Type Nullable
where UserWhereInput No
data UserUpdateWithoutRolesInput | UserUncheckedUpdateWithoutRolesInput No


UserUncheckedUpdateWithoutRolesInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
email String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
preference NullableJsonNullValueInput | Json No
balance Int | IntFieldUpdateOperationsInput No
authenticationToken AuthenticationTokenUncheckedUpdateOneWithoutUserNestedInput No
profile UserProfileUncheckedUpdateOneWithoutUserNestedInput No
authoredReviews UserReviewUncheckedUpdateManyWithoutAuthorNestedInput No
cart CartUncheckedUpdateOneWithoutUserNestedInput No
login LoginUncheckedUpdateOneWithoutUserNestedInput No
paymentMethod PaymentMethodUncheckedUpdateManyWithoutUserNestedInput No
orders OrderUncheckedUpdateManyWithoutUserNestedInput No


RoleUpdateToOneWithWhereWithoutUsersInput

Name Type Nullable
where RoleWhereInput No
data RoleUpdateWithoutUsersInput | RoleUncheckedUpdateWithoutUsersInput No

RoleUpdateWithoutUsersInput

Name Type Nullable
name String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
permissions RolePermissionUpdateManyWithoutRoleNestedInput No

RoleUncheckedUpdateWithoutUsersInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
permissions RolePermissionUncheckedUpdateManyWithoutRoleNestedInput No

UserRoleCreateWithoutRoleInput

Name Type Nullable
createdAt DateTime No
updatedAt DateTime No
user UserCreateNestedOneWithoutRolesInput No

UserRoleUncheckedCreateWithoutRoleInput

Name Type Nullable
id Int No
userId Int No
createdAt DateTime No
updatedAt DateTime No

UserRoleCreateOrConnectWithoutRoleInput

Name Type Nullable
where UserRoleWhereUniqueInput No
create UserRoleCreateWithoutRoleInput | UserRoleUncheckedCreateWithoutRoleInput No

UserRoleCreateManyRoleInputEnvelope

Name Type Nullable
data UserRoleCreateManyRoleInput | UserRoleCreateManyRoleInput[] No
skipDuplicates Boolean No

RolePermissionCreateWithoutRoleInput

Name Type Nullable
createdAt DateTime No
updatedAt DateTime No
permission PermissionCreateNestedOneWithoutRolesInput No

RolePermissionUncheckedCreateWithoutRoleInput

Name Type Nullable
id Int No
permissionId Int No
createdAt DateTime No
updatedAt DateTime No

RolePermissionCreateOrConnectWithoutRoleInput

Name Type Nullable
where RolePermissionWhereUniqueInput No
create RolePermissionCreateWithoutRoleInput | RolePermissionUncheckedCreateWithoutRoleInput No

RolePermissionCreateManyRoleInputEnvelope

Name Type Nullable
data RolePermissionCreateManyRoleInput | RolePermissionCreateManyRoleInput[] No
skipDuplicates Boolean No


UserRoleUpdateWithWhereUniqueWithoutRoleInput

Name Type Nullable
where UserRoleWhereUniqueInput No
data UserRoleUpdateWithoutRoleInput | UserRoleUncheckedUpdateWithoutRoleInput No

UserRoleUpdateManyWithWhereWithoutRoleInput

Name Type Nullable
where UserRoleScalarWhereInput No
data UserRoleUpdateManyMutationInput | UserRoleUncheckedUpdateManyWithoutRoleInput No


RolePermissionUpdateWithWhereUniqueWithoutRoleInput

Name Type Nullable
where RolePermissionWhereUniqueInput No
data RolePermissionUpdateWithoutRoleInput | RolePermissionUncheckedUpdateWithoutRoleInput No

RolePermissionUpdateManyWithWhereWithoutRoleInput

Name Type Nullable
where RolePermissionScalarWhereInput No
data RolePermissionUpdateManyMutationInput | RolePermissionUncheckedUpdateManyWithoutRoleInput No

RolePermissionScalarWhereInput

Name Type Nullable
AND RolePermissionScalarWhereInput | RolePermissionScalarWhereInput[] No
OR RolePermissionScalarWhereInput[] No
NOT RolePermissionScalarWhereInput | RolePermissionScalarWhereInput[] No
id IntFilter | Int No
roleId IntFilter | Int No
permissionId IntFilter | Int No
createdAt DateTimeFilter | DateTime No
updatedAt DateTimeFilter | DateTime No

RoleCreateWithoutPermissionsInput

Name Type Nullable
name String No
createdAt DateTime No
updatedAt DateTime No
users UserRoleCreateNestedManyWithoutRoleInput No

RoleUncheckedCreateWithoutPermissionsInput

Name Type Nullable
id Int No
name String No
createdAt DateTime No
updatedAt DateTime No
users UserRoleUncheckedCreateNestedManyWithoutRoleInput No

RoleCreateOrConnectWithoutPermissionsInput

Name Type Nullable
where RoleWhereUniqueInput No
create RoleCreateWithoutPermissionsInput | RoleUncheckedCreateWithoutPermissionsInput No

PermissionCreateWithoutRolesInput

Name Type Nullable
resource String No
accessType AccessType No
createdAt DateTime No
updatedAt DateTime No

PermissionUncheckedCreateWithoutRolesInput

Name Type Nullable
id Int No
resource String No
accessType AccessType No
createdAt DateTime No
updatedAt DateTime No

PermissionCreateOrConnectWithoutRolesInput

Name Type Nullable
where PermissionWhereUniqueInput No
create PermissionCreateWithoutRolesInput | PermissionUncheckedCreateWithoutRolesInput No


RoleUpdateToOneWithWhereWithoutPermissionsInput

Name Type Nullable
where RoleWhereInput No
data RoleUpdateWithoutPermissionsInput | RoleUncheckedUpdateWithoutPermissionsInput No

RoleUpdateWithoutPermissionsInput

Name Type Nullable
name String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
users UserRoleUpdateManyWithoutRoleNestedInput No

RoleUncheckedUpdateWithoutPermissionsInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
name String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
users UserRoleUncheckedUpdateManyWithoutRoleNestedInput No


PermissionUpdateToOneWithWhereWithoutRolesInput

Name Type Nullable
where PermissionWhereInput No
data PermissionUpdateWithoutRolesInput | PermissionUncheckedUpdateWithoutRolesInput No

PermissionUpdateWithoutRolesInput

Name Type Nullable
resource String | StringFieldUpdateOperationsInput No
accessType AccessType | EnumAccessTypeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PermissionUncheckedUpdateWithoutRolesInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
resource String | StringFieldUpdateOperationsInput No
accessType AccessType | EnumAccessTypeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

RolePermissionCreateWithoutPermissionInput

Name Type Nullable
createdAt DateTime No
updatedAt DateTime No
role RoleCreateNestedOneWithoutPermissionsInput No

RolePermissionUncheckedCreateWithoutPermissionInput

Name Type Nullable
id Int No
roleId Int No
createdAt DateTime No
updatedAt DateTime No

RolePermissionCreateOrConnectWithoutPermissionInput

Name Type Nullable
where RolePermissionWhereUniqueInput No
create RolePermissionCreateWithoutPermissionInput | RolePermissionUncheckedCreateWithoutPermissionInput No

RolePermissionCreateManyPermissionInputEnvelope

Name Type Nullable
data RolePermissionCreateManyPermissionInput | RolePermissionCreateManyPermissionInput[] No
skipDuplicates Boolean No


RolePermissionUpdateWithWhereUniqueWithoutPermissionInput

Name Type Nullable
where RolePermissionWhereUniqueInput No
data RolePermissionUpdateWithoutPermissionInput | RolePermissionUncheckedUpdateWithoutPermissionInput No

RolePermissionUpdateManyWithWhereWithoutPermissionInput

Name Type Nullable
where RolePermissionScalarWhereInput No
data RolePermissionUpdateManyMutationInput | RolePermissionUncheckedUpdateManyWithoutPermissionInput No

OrderDetailCreateManyProductInput

Name Type Nullable
id Int No
orderId String No
quantity Int No
total Decimal No
createdAt DateTime No
updatedAt DateTime No

CartItemCreateManyProductInput

Name Type Nullable
id Int No
cartId Int No
quantity Int No
promotionId Int | Null Yes
createdAt DateTime No
updatedAt DateTime No

ProductInventoryCreateManyProductInput

Name Type Nullable
id Int No
quantity Int No
reStockLevel Int | Null Yes
status InventoryStatus No
createdAt DateTime No
updatedAt DateTime No

ProductImageCreateManyProductInput

Name Type Nullable
id Int No
imageUrl String No
createdAt DateTime No
updatedAt DateTime No

UserReviewCreateManyProductInput

Name Type Nullable
id Int No
title String No
message String No
rating Int No
authorId Int No
createdAt DateTime No
updatedAt DateTime No

OrderDetailUpdateWithoutProductInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
total Decimal | DecimalFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
order OrderUpdateOneRequiredWithoutOrderDetailNestedInput No

OrderDetailUncheckedUpdateWithoutProductInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
orderId String | StringFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
total Decimal | DecimalFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

OrderDetailUncheckedUpdateManyWithoutProductInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
orderId String | StringFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
total Decimal | DecimalFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

CartItemUpdateWithoutProductInput

Name Type Nullable
quantity Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
cart CartUpdateOneRequiredWithoutCartItemsNestedInput No
Promotion PromotionUpdateOneWithoutCartItemNestedInput No

CartItemUncheckedUpdateWithoutProductInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
cartId Int | IntFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
promotionId Int | NullableIntFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

CartItemUncheckedUpdateManyWithoutProductInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
cartId Int | IntFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
promotionId Int | NullableIntFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductInventoryUpdateWithoutProductInput

Name Type Nullable
quantity Int | IntFieldUpdateOperationsInput No
reStockLevel Int | NullableIntFieldUpdateOperationsInput | Null Yes
status InventoryStatus | EnumInventoryStatusFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductInventoryUncheckedUpdateWithoutProductInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
reStockLevel Int | NullableIntFieldUpdateOperationsInput | Null Yes
status InventoryStatus | EnumInventoryStatusFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductInventoryUncheckedUpdateManyWithoutProductInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
reStockLevel Int | NullableIntFieldUpdateOperationsInput | Null Yes
status InventoryStatus | EnumInventoryStatusFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductImageUpdateWithoutProductInput

Name Type Nullable
imageUrl String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductImageUncheckedUpdateWithoutProductInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
imageUrl String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductImageUncheckedUpdateManyWithoutProductInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
imageUrl String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserReviewUpdateWithoutProductInput

Name Type Nullable
title String | StringFieldUpdateOperationsInput No
message String | StringFieldUpdateOperationsInput No
rating Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
author UserUpdateOneRequiredWithoutAuthoredReviewsNestedInput No

UserReviewUncheckedUpdateWithoutProductInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
title String | StringFieldUpdateOperationsInput No
message String | StringFieldUpdateOperationsInput No
rating Int | IntFieldUpdateOperationsInput No
authorId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserReviewUncheckedUpdateManyWithoutProductInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
title String | StringFieldUpdateOperationsInput No
message String | StringFieldUpdateOperationsInput No
rating Int | IntFieldUpdateOperationsInput No
authorId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

CategoryCreateManyParentCategoryInput

Name Type Nullable
id Int No
categoryName String No
categoryDesc String No
slug String | Null Yes
createdAt DateTime No
updatedAt DateTime No

ProductCreateManyCategoryInput

Name Type Nullable
id Int No
productName String No
productDesc String No
shortDesc String | Null Yes
grade Grade | Null Yes
sku String | Null Yes
price Decimal No
msrp Decimal | Null Yes
size String | Null Yes
weight Decimal | Null Yes
weightUnit String | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | Null Yes
soldQuantity Int | Null Yes
isActive Boolean | Null Yes
isAvailable Boolean | Null Yes
slug String | Null Yes
imageUrl String | Null Yes
createdAt DateTime No
updatedAt DateTime No

PromotionCategoryCreateManyCategoryInput

Name Type Nullable
id Int No
promotionId Int No
createdAt DateTime No
updatedAt DateTime No

CategoryUpdateWithoutParentCategoryInput

Name Type Nullable
categoryName String | StringFieldUpdateOperationsInput No
categoryDesc String | StringFieldUpdateOperationsInput No
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
childCategories CategoryUpdateManyWithoutParentCategoryNestedInput No
product ProductUpdateManyWithoutCategoryNestedInput No
promotionCategory PromotionCategoryUpdateManyWithoutCategoryNestedInput No

CategoryUncheckedUpdateWithoutParentCategoryInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
categoryName String | StringFieldUpdateOperationsInput No
categoryDesc String | StringFieldUpdateOperationsInput No
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
childCategories CategoryUncheckedUpdateManyWithoutParentCategoryNestedInput No
product ProductUncheckedUpdateManyWithoutCategoryNestedInput No
promotionCategory PromotionCategoryUncheckedUpdateManyWithoutCategoryNestedInput No

CategoryUncheckedUpdateManyWithoutParentCategoryInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
categoryName String | StringFieldUpdateOperationsInput No
categoryDesc String | StringFieldUpdateOperationsInput No
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ProductUpdateWithoutCategoryInput

Name Type Nullable
productName String | StringFieldUpdateOperationsInput No
productDesc String | StringFieldUpdateOperationsInput No
shortDesc String | NullableStringFieldUpdateOperationsInput | Null Yes
grade Grade | NullableEnumGradeFieldUpdateOperationsInput | Null Yes
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
price Decimal | DecimalFieldUpdateOperationsInput No
msrp Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
size String | NullableStringFieldUpdateOperationsInput | Null Yes
weight Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
weightUnit String | NullableStringFieldUpdateOperationsInput | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
soldQuantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
isActive Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
isAvailable Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
imageUrl String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
orderDetail OrderDetailUpdateManyWithoutProductNestedInput No
cartItem CartItemUpdateManyWithoutProductNestedInput No
productInventory ProductInventoryUpdateManyWithoutProductNestedInput No
productImage ProductImageUpdateManyWithoutProductNestedInput No
reviews UserReviewUpdateManyWithoutProductNestedInput No

ProductUncheckedUpdateWithoutCategoryInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
productName String | StringFieldUpdateOperationsInput No
productDesc String | StringFieldUpdateOperationsInput No
shortDesc String | NullableStringFieldUpdateOperationsInput | Null Yes
grade Grade | NullableEnumGradeFieldUpdateOperationsInput | Null Yes
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
price Decimal | DecimalFieldUpdateOperationsInput No
msrp Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
size String | NullableStringFieldUpdateOperationsInput | Null Yes
weight Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
weightUnit String | NullableStringFieldUpdateOperationsInput | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
soldQuantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
isActive Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
isAvailable Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
imageUrl String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
orderDetail OrderDetailUncheckedUpdateManyWithoutProductNestedInput No
cartItem CartItemUncheckedUpdateManyWithoutProductNestedInput No
productInventory ProductInventoryUncheckedUpdateManyWithoutProductNestedInput No
productImage ProductImageUncheckedUpdateManyWithoutProductNestedInput No
reviews UserReviewUncheckedUpdateManyWithoutProductNestedInput No

ProductUncheckedUpdateManyWithoutCategoryInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
productName String | StringFieldUpdateOperationsInput No
productDesc String | StringFieldUpdateOperationsInput No
shortDesc String | NullableStringFieldUpdateOperationsInput | Null Yes
grade Grade | NullableEnumGradeFieldUpdateOperationsInput | Null Yes
sku String | NullableStringFieldUpdateOperationsInput | Null Yes
price Decimal | DecimalFieldUpdateOperationsInput No
msrp Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
size String | NullableStringFieldUpdateOperationsInput | Null Yes
weight Decimal | NullableDecimalFieldUpdateOperationsInput | Null Yes
weightUnit String | NullableStringFieldUpdateOperationsInput | Null Yes
features NullableJsonNullValueInput | Json No
quantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
soldQuantity Int | NullableIntFieldUpdateOperationsInput | Null Yes
isActive Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
isAvailable Boolean | NullableBoolFieldUpdateOperationsInput | Null Yes
slug String | NullableStringFieldUpdateOperationsInput | Null Yes
imageUrl String | NullableStringFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PromotionCategoryUpdateWithoutCategoryInput

Name Type Nullable
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
promotion PromotionUpdateOneRequiredWithoutPromotionCategoryNestedInput No

PromotionCategoryUncheckedUpdateWithoutCategoryInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
promotionId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PromotionCategoryUncheckedUpdateManyWithoutCategoryInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
promotionId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserReviewCreateManyAuthorInput

Name Type Nullable
id Int No
title String No
message String No
rating Int No
productId Int No
createdAt DateTime No
updatedAt DateTime No

UserRoleCreateManyUserInput

Name Type Nullable
id Int No
roleId Int No
createdAt DateTime No
updatedAt DateTime No

PaymentMethodCreateManyUserInput

Name Type Nullable
id Int No
paymentDetailId Int No
paymentOptionId Int No
cardProvider String | Null Yes
nameOnCard String | Null Yes
isDefault Boolean No
createdAt DateTime No
updatedAt DateTime No

OrderCreateManyUserInput

Name Type Nullable
id String No
status OrderStatusType No
tax Decimal No
total Decimal No
createdAt DateTime No
updatedAt DateTime No

UserReviewUpdateWithoutAuthorInput

Name Type Nullable
title String | StringFieldUpdateOperationsInput No
message String | StringFieldUpdateOperationsInput No
rating Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product ProductUpdateOneRequiredWithoutReviewsNestedInput No

UserReviewUncheckedUpdateWithoutAuthorInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
title String | StringFieldUpdateOperationsInput No
message String | StringFieldUpdateOperationsInput No
rating Int | IntFieldUpdateOperationsInput No
productId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserReviewUncheckedUpdateManyWithoutAuthorInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
title String | StringFieldUpdateOperationsInput No
message String | StringFieldUpdateOperationsInput No
rating Int | IntFieldUpdateOperationsInput No
productId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserRoleUpdateWithoutUserInput

Name Type Nullable
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
role RoleUpdateOneRequiredWithoutUsersNestedInput No

UserRoleUncheckedUpdateWithoutUserInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
roleId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserRoleUncheckedUpdateManyWithoutUserInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
roleId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PaymentMethodUpdateWithoutUserInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
cardProvider String | NullableStringFieldUpdateOperationsInput | Null Yes
nameOnCard String | NullableStringFieldUpdateOperationsInput | Null Yes
isDefault Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
paymentDetail PaymentDetailUpdateOneRequiredWithoutPaymentMethodNestedInput No
paymentOption PaymentOptionUpdateOneRequiredWithoutPaymentMethodNestedInput No

PaymentMethodUncheckedUpdateWithoutUserInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
paymentDetailId Int | IntFieldUpdateOperationsInput No
paymentOptionId Int | IntFieldUpdateOperationsInput No
cardProvider String | NullableStringFieldUpdateOperationsInput | Null Yes
nameOnCard String | NullableStringFieldUpdateOperationsInput | Null Yes
isDefault Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PaymentMethodUncheckedUpdateManyWithoutUserInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
paymentDetailId Int | IntFieldUpdateOperationsInput No
paymentOptionId Int | IntFieldUpdateOperationsInput No
cardProvider String | NullableStringFieldUpdateOperationsInput | Null Yes
nameOnCard String | NullableStringFieldUpdateOperationsInput | Null Yes
isDefault Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No



OrderUncheckedUpdateManyWithoutUserInput

Name Type Nullable
id String | StringFieldUpdateOperationsInput No
status OrderStatusType | EnumOrderStatusTypeFieldUpdateOperationsInput No
tax Decimal | DecimalFieldUpdateOperationsInput No
total Decimal | DecimalFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserAddressCreateManyUserProfileInput

Name Type Nullable
id Int No
addressId Int No
isDefault Boolean No
createdAt DateTime No
updatedAt DateTime No

SocialLinkCreateManyUserProfileInput

Name Type Nullable
id Int No
socialProvider String No
socialUrl String No
createdAt DateTime No
updatedAt DateTime No

UserAddressUpdateWithoutUserProfileInput

Name Type Nullable
isDefault Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
address AddressUpdateOneRequiredWithoutUserAddressNestedInput No

UserAddressUncheckedUpdateWithoutUserProfileInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
addressId Int | IntFieldUpdateOperationsInput No
isDefault Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserAddressUncheckedUpdateManyWithoutUserProfileInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
addressId Int | IntFieldUpdateOperationsInput No
isDefault Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

SocialLinkUpdateWithoutUserProfileInput

Name Type Nullable
socialProvider String | StringFieldUpdateOperationsInput No
socialUrl String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

SocialLinkUncheckedUpdateWithoutUserProfileInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
socialProvider String | StringFieldUpdateOperationsInput No
socialUrl String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

SocialLinkUncheckedUpdateManyWithoutUserProfileInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
socialProvider String | StringFieldUpdateOperationsInput No
socialUrl String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserAddressCreateManyAddressInput

Name Type Nullable
id Int No
userProfileId Int No
isDefault Boolean No
createdAt DateTime No
updatedAt DateTime No

PaymentDetailCreateManyBillingAddressInput

Name Type Nullable
id Int No
orderId String No
createdAt DateTime No
updatedAt DateTime No

ShippingDetailCreateManyShippingAddressInput

Name Type Nullable
id Int No
estimatedArrival DateTime No
shippingMethodId Int No
orderId String No
createdAt DateTime No
updatedAt DateTime No

UserAddressUpdateWithoutAddressInput

Name Type Nullable
isDefault Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
userProfile UserProfileUpdateOneRequiredWithoutUserAddressNestedInput No

UserAddressUncheckedUpdateWithoutAddressInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
userProfileId Int | IntFieldUpdateOperationsInput No
isDefault Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserAddressUncheckedUpdateManyWithoutAddressInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
userProfileId Int | IntFieldUpdateOperationsInput No
isDefault Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PaymentDetailUpdateWithoutBillingAddressInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
paymentMethod PaymentMethodUpdateManyWithoutPaymentDetailNestedInput No
order OrderUpdateOneRequiredWithoutPaymentDetailNestedInput No

PaymentDetailUncheckedUpdateWithoutBillingAddressInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
orderId String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
paymentMethod PaymentMethodUncheckedUpdateManyWithoutPaymentDetailNestedInput No

PaymentDetailUncheckedUpdateManyWithoutBillingAddressInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
orderId String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ShippingDetailUpdateWithoutShippingAddressInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
estimatedArrival DateTime | DateTimeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
shippingMethod ShippingMethodUpdateOneRequiredWithoutShippingDetailNestedInput No
order OrderUpdateOneRequiredWithoutShippingDetailNestedInput No

ShippingDetailUncheckedUpdateWithoutShippingAddressInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
estimatedArrival DateTime | DateTimeFieldUpdateOperationsInput No
shippingMethodId Int | IntFieldUpdateOperationsInput No
orderId String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ShippingDetailUncheckedUpdateManyWithoutShippingAddressInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
estimatedArrival DateTime | DateTimeFieldUpdateOperationsInput No
shippingMethodId Int | IntFieldUpdateOperationsInput No
orderId String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PromotionCategoryCreateManyPromotionInput

Name Type Nullable
id Int No
categoryId Int No
createdAt DateTime No
updatedAt DateTime No

PromotionCategoryUpdateWithoutPromotionInput

Name Type Nullable
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
category CategoryUpdateOneRequiredWithoutPromotionCategoryNestedInput No

PromotionCategoryUncheckedUpdateWithoutPromotionInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
categoryId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PromotionCategoryUncheckedUpdateManyWithoutPromotionInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
categoryId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

CartItemCreateManyCartInput

Name Type Nullable
id Int No
productId Int No
quantity Int No
promotionId Int | Null Yes
createdAt DateTime No
updatedAt DateTime No

CartItemUpdateWithoutCartInput

Name Type Nullable
quantity Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product ProductUpdateOneRequiredWithoutCartItemNestedInput No
Promotion PromotionUpdateOneWithoutCartItemNestedInput No

CartItemUncheckedUpdateWithoutCartInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
productId Int | IntFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
promotionId Int | NullableIntFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

CartItemUncheckedUpdateManyWithoutCartInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
productId Int | IntFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
promotionId Int | NullableIntFieldUpdateOperationsInput | Null Yes
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

OrderDetailCreateManyOrderInput

Name Type Nullable
id Int No
productId Int No
quantity Int No
total Decimal No
createdAt DateTime No
updatedAt DateTime No

OrderDetailUpdateWithoutOrderInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
total Decimal | DecimalFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
product ProductUpdateOneRequiredWithoutOrderDetailNestedInput No

OrderDetailUncheckedUpdateWithoutOrderInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
productId Int | IntFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
total Decimal | DecimalFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

OrderDetailUncheckedUpdateManyWithoutOrderInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
productId Int | IntFieldUpdateOperationsInput No
quantity Int | IntFieldUpdateOperationsInput No
total Decimal | DecimalFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PaymentMethodCreateManyPaymentDetailInput

Name Type Nullable
id Int No
userId Int No
paymentOptionId Int No
cardProvider String | Null Yes
nameOnCard String | Null Yes
isDefault Boolean No
createdAt DateTime No
updatedAt DateTime No

PaymentMethodUpdateWithoutPaymentDetailInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
cardProvider String | NullableStringFieldUpdateOperationsInput | Null Yes
nameOnCard String | NullableStringFieldUpdateOperationsInput | Null Yes
isDefault Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
user UserUpdateOneRequiredWithoutPaymentMethodNestedInput No
paymentOption PaymentOptionUpdateOneRequiredWithoutPaymentMethodNestedInput No

PaymentMethodUncheckedUpdateWithoutPaymentDetailInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
userId Int | IntFieldUpdateOperationsInput No
paymentOptionId Int | IntFieldUpdateOperationsInput No
cardProvider String | NullableStringFieldUpdateOperationsInput | Null Yes
nameOnCard String | NullableStringFieldUpdateOperationsInput | Null Yes
isDefault Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PaymentMethodUncheckedUpdateManyWithoutPaymentDetailInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
userId Int | IntFieldUpdateOperationsInput No
paymentOptionId Int | IntFieldUpdateOperationsInput No
cardProvider String | NullableStringFieldUpdateOperationsInput | Null Yes
nameOnCard String | NullableStringFieldUpdateOperationsInput | Null Yes
isDefault Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PaymentMethodCreateManyPaymentOptionInput

Name Type Nullable
id Int No
userId Int No
paymentDetailId Int No
cardProvider String | Null Yes
nameOnCard String | Null Yes
isDefault Boolean No
createdAt DateTime No
updatedAt DateTime No

PaymentMethodUpdateWithoutPaymentOptionInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
cardProvider String | NullableStringFieldUpdateOperationsInput | Null Yes
nameOnCard String | NullableStringFieldUpdateOperationsInput | Null Yes
isDefault Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
user UserUpdateOneRequiredWithoutPaymentMethodNestedInput No
paymentDetail PaymentDetailUpdateOneRequiredWithoutPaymentMethodNestedInput No

PaymentMethodUncheckedUpdateWithoutPaymentOptionInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
userId Int | IntFieldUpdateOperationsInput No
paymentDetailId Int | IntFieldUpdateOperationsInput No
cardProvider String | NullableStringFieldUpdateOperationsInput | Null Yes
nameOnCard String | NullableStringFieldUpdateOperationsInput | Null Yes
isDefault Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

PaymentMethodUncheckedUpdateManyWithoutPaymentOptionInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
userId Int | IntFieldUpdateOperationsInput No
paymentDetailId Int | IntFieldUpdateOperationsInput No
cardProvider String | NullableStringFieldUpdateOperationsInput | Null Yes
nameOnCard String | NullableStringFieldUpdateOperationsInput | Null Yes
isDefault Boolean | BoolFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ShippingDetailCreateManyShippingMethodInput

Name Type Nullable
id Int No
estimatedArrival DateTime No
shippingAddressId Int No
orderId String No
createdAt DateTime No
updatedAt DateTime No

ShippingDetailUpdateWithoutShippingMethodInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
estimatedArrival DateTime | DateTimeFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
shippingAddress AddressUpdateOneRequiredWithoutShippingDetailNestedInput No
order OrderUpdateOneRequiredWithoutShippingDetailNestedInput No

ShippingDetailUncheckedUpdateWithoutShippingMethodInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
estimatedArrival DateTime | DateTimeFieldUpdateOperationsInput No
shippingAddressId Int | IntFieldUpdateOperationsInput No
orderId String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

ShippingDetailUncheckedUpdateManyWithoutShippingMethodInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
estimatedArrival DateTime | DateTimeFieldUpdateOperationsInput No
shippingAddressId Int | IntFieldUpdateOperationsInput No
orderId String | StringFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserRoleCreateManyRoleInput

Name Type Nullable
id Int No
userId Int No
createdAt DateTime No
updatedAt DateTime No

RolePermissionCreateManyRoleInput

Name Type Nullable
id Int No
permissionId Int No
createdAt DateTime No
updatedAt DateTime No

UserRoleUpdateWithoutRoleInput

Name Type Nullable
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
user UserUpdateOneRequiredWithoutRolesNestedInput No

UserRoleUncheckedUpdateWithoutRoleInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
userId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

UserRoleUncheckedUpdateManyWithoutRoleInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
userId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

RolePermissionUpdateWithoutRoleInput

Name Type Nullable
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
permission PermissionUpdateOneRequiredWithoutRolesNestedInput No

RolePermissionUncheckedUpdateWithoutRoleInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
permissionId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

RolePermissionUncheckedUpdateManyWithoutRoleInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
permissionId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

RolePermissionCreateManyPermissionInput

Name Type Nullable
id Int No
roleId Int No
createdAt DateTime No
updatedAt DateTime No

RolePermissionUpdateWithoutPermissionInput

Name Type Nullable
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No
role RoleUpdateOneRequiredWithoutPermissionsNestedInput No

RolePermissionUncheckedUpdateWithoutPermissionInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
roleId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

RolePermissionUncheckedUpdateManyWithoutPermissionInput

Name Type Nullable
id Int | IntFieldUpdateOperationsInput No
roleId Int | IntFieldUpdateOperationsInput No
createdAt DateTime | DateTimeFieldUpdateOperationsInput No
updatedAt DateTime | DateTimeFieldUpdateOperationsInput No

Output Types

Product

Name Type Nullable
id Int Yes
productName String Yes
productDesc String Yes
shortDesc String No
grade Grade No
sku String No
price Decimal Yes
msrp Decimal No
size String No
weight Decimal No
weightUnit String No
features Json No
quantity Int No
soldQuantity Int No
isActive Boolean No
isAvailable Boolean No
slug String No
imageUrl String No
createdAt DateTime Yes
updatedAt DateTime Yes
categoryId Int Yes
category Category Yes
orderDetail OrderDetail[] No
cartItem CartItem[] No
productInventory ProductInventory[] No
productImage ProductImage[] No
reviews UserReview[] No
_count ProductCountOutputType Yes

Category

Name Type Nullable
id Int Yes
categoryName String Yes
categoryDesc String Yes
slug String No
createdAt DateTime Yes
updatedAt DateTime Yes
parentCategoryId Int No
parentCategory Category No
childCategories Category[] No
product Product[] No
promotionCategory PromotionCategory[] No
_count CategoryCountOutputType Yes

ProductInventory

Name Type Nullable
id Int Yes
quantity Int Yes
reStockLevel Int No
status InventoryStatus Yes
createdAt DateTime Yes
updatedAt DateTime Yes
productId Int Yes
product Product Yes

ProductImage

Name Type Nullable
id Int Yes
imageUrl String Yes
productId Int Yes
createdAt DateTime Yes
updatedAt DateTime Yes
product Product Yes

User

Name Type Nullable
id Int Yes
email String Yes
createdAt DateTime Yes
updatedAt DateTime Yes
preference Json No
balance Int Yes
authenticationToken AuthenticationToken No
profile UserProfile No
authoredReviews UserReview[] No
cart Cart No
login Login No
roles UserRole[] No
paymentMethod PaymentMethod[] No
orders Order[] No
_count UserCountOutputType Yes

Login

Name Type Nullable
id String Yes
username String Yes
password String Yes
failedAttempts Int Yes
lockoutTime DateTime No
lastLogin DateTime No
userId Int Yes
createdAt DateTime Yes
updatedAt DateTime Yes
user User Yes

AuthenticationToken

Name Type Nullable
id Int Yes
token String Yes
expiry DateTime No
userId Int Yes
createdAt DateTime Yes
updatedAt DateTime Yes
user User Yes

UserProfile

Name Type Nullable
id Int Yes
firstName String No
lastName String No
phone String No
birthDate DateTime No
gender Gender No
photo String No
bio String No
userId Int Yes
createdAt DateTime Yes
updatedAt DateTime Yes
userAddress UserAddress[] No
socialLinks SocialLink[] No
user User Yes
_count UserProfileCountOutputType Yes

UserAddress

Name Type Nullable
id Int Yes
userProfileId Int Yes
addressId Int Yes
isDefault Boolean Yes
createdAt DateTime Yes
updatedAt DateTime Yes
userProfile UserProfile Yes
address Address Yes

Address

Name Type Nullable
id Int Yes
street String Yes
unit String Yes
city String Yes
zipcode String Yes
state String Yes
country String Yes
planet String No
solarSystem String No
galaxy String No
localGroup String No
localCluster String No
universe String No
createdAt DateTime Yes
updatedAt DateTime Yes
userAddress UserAddress[] No
paymentDetail PaymentDetail[] No
shippingDetail ShippingDetail[] No
_count AddressCountOutputType Yes

Name Type Nullable
id Int Yes
userProfileId Int Yes
socialProvider String Yes
socialUrl String Yes
createdAt DateTime Yes
updatedAt DateTime Yes
UserProfile UserProfile Yes

UserReview

Name Type Nullable
id Int Yes
title String Yes
message String Yes
rating Int Yes
authorId Int Yes
productId Int Yes
createdAt DateTime Yes
updatedAt DateTime Yes
author User Yes
product Product Yes

PromotionCategory

Name Type Nullable
id Int Yes
categoryId Int Yes
promotionId Int Yes
createdAt DateTime Yes
updatedAt DateTime Yes
category Category Yes
promotion Promotion Yes

Promotion

Name Type Nullable
id Int Yes
promotionName String Yes
promotionDesc String Yes
promotionRate Int Yes
isActive Boolean Yes
startDate DateTime Yes
endDate DateTime Yes
createdAt DateTime Yes
updatedAt DateTime Yes
promotionCategory PromotionCategory[] No
CartItem CartItem No
_count PromotionCountOutputType Yes

CartItem

Name Type Nullable
id Int Yes
cartId Int Yes
productId Int Yes
quantity Int Yes
promotionId Int No
createdAt DateTime Yes
updatedAt DateTime Yes
cart Cart Yes
product Product Yes
Promotion Promotion No

Cart

Name Type Nullable
id Int Yes
userId Int Yes
createdAt DateTime Yes
updatedAt DateTime Yes
user User Yes
cartItems CartItem[] No
_count CartCountOutputType Yes

Order

Name Type Nullable
id String Yes
status OrderStatusType Yes
tax Decimal Yes
total Decimal Yes
createdAt DateTime Yes
userId Int Yes
updatedAt DateTime Yes
user User Yes
shippingDetail ShippingDetail No
paymentDetail PaymentDetail No
orderDetail OrderDetail[] No
_count OrderCountOutputType Yes

OrderDetail

Name Type Nullable
id Int Yes
orderId String Yes
productId Int Yes
quantity Int Yes
total Decimal Yes
createdAt DateTime Yes
updatedAt DateTime Yes
product Product Yes
order Order Yes

PaymentDetail

Name Type Nullable
id Int Yes
billingAddressId Int Yes
orderId String Yes
createdAt DateTime Yes
updatedAt DateTime Yes
paymentMethod PaymentMethod[] No
billingAddress Address Yes
order Order Yes
_count PaymentDetailCountOutputType Yes

PaymentOption

Name Type Nullable
id Int Yes
paymentType PaymentType Yes
createdAt DateTime Yes
updatedAt DateTime Yes
paymentMethod PaymentMethod[] No
_count PaymentOptionCountOutputType Yes

PaymentMethod

Name Type Nullable
id Int Yes
userId Int Yes
paymentDetailId Int Yes
paymentOptionId Int Yes
cardProvider String No
nameOnCard String No
isDefault Boolean Yes
createdAt DateTime Yes
updatedAt DateTime Yes
user User Yes
paymentDetail PaymentDetail Yes
paymentOption PaymentOption Yes

ShippingDetail

Name Type Nullable
id Int Yes
estimatedArrival DateTime Yes
shippingAddressId Int Yes
shippingMethodId Int Yes
orderId String Yes
createdAt DateTime Yes
updatedAt DateTime Yes
shippingAddress Address Yes
shippingMethod ShippingMethod Yes
order Order Yes

ShippingMethod

Name Type Nullable
id Int Yes
name String Yes
price Decimal Yes
createdAt DateTime Yes
updatedAt DateTime Yes
shippingDetail ShippingDetail[] No
_count ShippingMethodCountOutputType Yes

Invoice

Name Type Nullable
id String Yes

UserRole

Name Type Nullable
id Int Yes
userId Int Yes
roleId Int Yes
createdAt DateTime Yes
updatedAt DateTime Yes
user User Yes
role Role Yes

Role

Name Type Nullable
id Int Yes
name String Yes
createdAt DateTime Yes
updatedAt DateTime Yes
users UserRole[] No
permissions RolePermission[] No
_count RoleCountOutputType Yes

RolePermission

Name Type Nullable
id Int Yes
roleId Int Yes
permissionId Int Yes
createdAt DateTime Yes
updatedAt DateTime Yes
role Role Yes
permission Permission Yes

Permission

Name Type Nullable
id Int Yes
resource String Yes
accessType AccessType Yes
createdAt DateTime Yes
updatedAt DateTime Yes
roles RolePermission[] No
_count PermissionCountOutputType Yes


ProductGroupByOutputType

Name Type Nullable
id Int Yes
productName String Yes
productDesc String Yes
shortDesc String No
grade Grade No
sku String No
price Decimal Yes
msrp Decimal No
size String No
weight Decimal No
weightUnit String No
features Json No
quantity Int No
soldQuantity Int No
isActive Boolean No
isAvailable Boolean No
slug String No
imageUrl String No
createdAt DateTime Yes
updatedAt DateTime Yes
categoryId Int Yes
_count ProductCountAggregateOutputType No
_avg ProductAvgAggregateOutputType No
_sum ProductSumAggregateOutputType No
_min ProductMinAggregateOutputType No
_max ProductMaxAggregateOutputType No


CategoryGroupByOutputType

Name Type Nullable
id Int Yes
categoryName String Yes
categoryDesc String Yes
slug String No
createdAt DateTime Yes
updatedAt DateTime Yes
parentCategoryId Int No
_count CategoryCountAggregateOutputType No
_avg CategoryAvgAggregateOutputType No
_sum CategorySumAggregateOutputType No
_min CategoryMinAggregateOutputType No
_max CategoryMaxAggregateOutputType No


ProductInventoryGroupByOutputType

Name Type Nullable
id Int Yes
quantity Int Yes
reStockLevel Int No
status InventoryStatus Yes
createdAt DateTime Yes
updatedAt DateTime Yes
productId Int Yes
_count ProductInventoryCountAggregateOutputType No
_avg ProductInventoryAvgAggregateOutputType No
_sum ProductInventorySumAggregateOutputType No
_min ProductInventoryMinAggregateOutputType No
_max ProductInventoryMaxAggregateOutputType No


ProductImageGroupByOutputType

Name Type Nullable
id Int Yes
imageUrl String Yes
productId Int Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count ProductImageCountAggregateOutputType No
_avg ProductImageAvgAggregateOutputType No
_sum ProductImageSumAggregateOutputType No
_min ProductImageMinAggregateOutputType No
_max ProductImageMaxAggregateOutputType No


UserGroupByOutputType

Name Type Nullable
id Int Yes
email String Yes
createdAt DateTime Yes
updatedAt DateTime Yes
preference Json No
balance Int Yes
_count UserCountAggregateOutputType No
_avg UserAvgAggregateOutputType No
_sum UserSumAggregateOutputType No
_min UserMinAggregateOutputType No
_max UserMaxAggregateOutputType No


LoginGroupByOutputType

Name Type Nullable
id String Yes
username String Yes
password String Yes
failedAttempts Int Yes
lockoutTime DateTime No
lastLogin DateTime No
userId Int Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count LoginCountAggregateOutputType No
_avg LoginAvgAggregateOutputType No
_sum LoginSumAggregateOutputType No
_min LoginMinAggregateOutputType No
_max LoginMaxAggregateOutputType No


AuthenticationTokenGroupByOutputType

Name Type Nullable
id Int Yes
token String Yes
expiry DateTime No
userId Int Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count AuthenticationTokenCountAggregateOutputType No
_avg AuthenticationTokenAvgAggregateOutputType No
_sum AuthenticationTokenSumAggregateOutputType No
_min AuthenticationTokenMinAggregateOutputType No
_max AuthenticationTokenMaxAggregateOutputType No


UserProfileGroupByOutputType

Name Type Nullable
id Int Yes
firstName String No
lastName String No
phone String No
birthDate DateTime No
gender Gender No
photo String No
bio String No
userId Int Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count UserProfileCountAggregateOutputType No
_avg UserProfileAvgAggregateOutputType No
_sum UserProfileSumAggregateOutputType No
_min UserProfileMinAggregateOutputType No
_max UserProfileMaxAggregateOutputType No


UserAddressGroupByOutputType

Name Type Nullable
id Int Yes
userProfileId Int Yes
addressId Int Yes
isDefault Boolean Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count UserAddressCountAggregateOutputType No
_avg UserAddressAvgAggregateOutputType No
_sum UserAddressSumAggregateOutputType No
_min UserAddressMinAggregateOutputType No
_max UserAddressMaxAggregateOutputType No


AddressGroupByOutputType

Name Type Nullable
id Int Yes
street String Yes
unit String Yes
city String Yes
zipcode String Yes
state String Yes
country String Yes
planet String No
solarSystem String No
galaxy String No
localGroup String No
localCluster String No
universe String No
createdAt DateTime Yes
updatedAt DateTime Yes
_count AddressCountAggregateOutputType No
_avg AddressAvgAggregateOutputType No
_sum AddressSumAggregateOutputType No
_min AddressMinAggregateOutputType No
_max AddressMaxAggregateOutputType No


SocialLinkGroupByOutputType

Name Type Nullable
id Int Yes
userProfileId Int Yes
socialProvider String Yes
socialUrl String Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count SocialLinkCountAggregateOutputType No
_avg SocialLinkAvgAggregateOutputType No
_sum SocialLinkSumAggregateOutputType No
_min SocialLinkMinAggregateOutputType No
_max SocialLinkMaxAggregateOutputType No


UserReviewGroupByOutputType

Name Type Nullable
id Int Yes
title String Yes
message String Yes
rating Int Yes
authorId Int Yes
productId Int Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count UserReviewCountAggregateOutputType No
_avg UserReviewAvgAggregateOutputType No
_sum UserReviewSumAggregateOutputType No
_min UserReviewMinAggregateOutputType No
_max UserReviewMaxAggregateOutputType No


PromotionCategoryGroupByOutputType

Name Type Nullable
id Int Yes
categoryId Int Yes
promotionId Int Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count PromotionCategoryCountAggregateOutputType No
_avg PromotionCategoryAvgAggregateOutputType No
_sum PromotionCategorySumAggregateOutputType No
_min PromotionCategoryMinAggregateOutputType No
_max PromotionCategoryMaxAggregateOutputType No


PromotionGroupByOutputType

Name Type Nullable
id Int Yes
promotionName String Yes
promotionDesc String Yes
promotionRate Int Yes
isActive Boolean Yes
startDate DateTime Yes
endDate DateTime Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count PromotionCountAggregateOutputType No
_avg PromotionAvgAggregateOutputType No
_sum PromotionSumAggregateOutputType No
_min PromotionMinAggregateOutputType No
_max PromotionMaxAggregateOutputType No


CartItemGroupByOutputType

Name Type Nullable
id Int Yes
cartId Int Yes
productId Int Yes
quantity Int Yes
promotionId Int No
createdAt DateTime Yes
updatedAt DateTime Yes
_count CartItemCountAggregateOutputType No
_avg CartItemAvgAggregateOutputType No
_sum CartItemSumAggregateOutputType No
_min CartItemMinAggregateOutputType No
_max CartItemMaxAggregateOutputType No


CartGroupByOutputType

Name Type Nullable
id Int Yes
userId Int Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count CartCountAggregateOutputType No
_avg CartAvgAggregateOutputType No
_sum CartSumAggregateOutputType No
_min CartMinAggregateOutputType No
_max CartMaxAggregateOutputType No


OrderGroupByOutputType

Name Type Nullable
id String Yes
status OrderStatusType Yes
tax Decimal Yes
total Decimal Yes
createdAt DateTime Yes
userId Int Yes
updatedAt DateTime Yes
_count OrderCountAggregateOutputType No
_avg OrderAvgAggregateOutputType No
_sum OrderSumAggregateOutputType No
_min OrderMinAggregateOutputType No
_max OrderMaxAggregateOutputType No


OrderDetailGroupByOutputType

Name Type Nullable
id Int Yes
orderId String Yes
productId Int Yes
quantity Int Yes
total Decimal Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count OrderDetailCountAggregateOutputType No
_avg OrderDetailAvgAggregateOutputType No
_sum OrderDetailSumAggregateOutputType No
_min OrderDetailMinAggregateOutputType No
_max OrderDetailMaxAggregateOutputType No


PaymentDetailGroupByOutputType

Name Type Nullable
id Int Yes
billingAddressId Int Yes
orderId String Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count PaymentDetailCountAggregateOutputType No
_avg PaymentDetailAvgAggregateOutputType No
_sum PaymentDetailSumAggregateOutputType No
_min PaymentDetailMinAggregateOutputType No
_max PaymentDetailMaxAggregateOutputType No


PaymentOptionGroupByOutputType

Name Type Nullable
id Int Yes
paymentType PaymentType Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count PaymentOptionCountAggregateOutputType No
_avg PaymentOptionAvgAggregateOutputType No
_sum PaymentOptionSumAggregateOutputType No
_min PaymentOptionMinAggregateOutputType No
_max PaymentOptionMaxAggregateOutputType No


PaymentMethodGroupByOutputType

Name Type Nullable
id Int Yes
userId Int Yes
paymentDetailId Int Yes
paymentOptionId Int Yes
cardProvider String No
nameOnCard String No
isDefault Boolean Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count PaymentMethodCountAggregateOutputType No
_avg PaymentMethodAvgAggregateOutputType No
_sum PaymentMethodSumAggregateOutputType No
_min PaymentMethodMinAggregateOutputType No
_max PaymentMethodMaxAggregateOutputType No


ShippingDetailGroupByOutputType

Name Type Nullable
id Int Yes
estimatedArrival DateTime Yes
shippingAddressId Int Yes
shippingMethodId Int Yes
orderId String Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count ShippingDetailCountAggregateOutputType No
_avg ShippingDetailAvgAggregateOutputType No
_sum ShippingDetailSumAggregateOutputType No
_min ShippingDetailMinAggregateOutputType No
_max ShippingDetailMaxAggregateOutputType No


ShippingMethodGroupByOutputType

Name Type Nullable
id Int Yes
name String Yes
price Decimal Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count ShippingMethodCountAggregateOutputType No
_avg ShippingMethodAvgAggregateOutputType No
_sum ShippingMethodSumAggregateOutputType No
_min ShippingMethodMinAggregateOutputType No
_max ShippingMethodMaxAggregateOutputType No

AggregateInvoice

Name Type Nullable
_count InvoiceCountAggregateOutputType No
_min InvoiceMinAggregateOutputType No
_max InvoiceMaxAggregateOutputType No

InvoiceGroupByOutputType

Name Type Nullable
id String Yes
_count InvoiceCountAggregateOutputType No
_min InvoiceMinAggregateOutputType No
_max InvoiceMaxAggregateOutputType No


UserRoleGroupByOutputType

Name Type Nullable
id Int Yes
userId Int Yes
roleId Int Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count UserRoleCountAggregateOutputType No
_avg UserRoleAvgAggregateOutputType No
_sum UserRoleSumAggregateOutputType No
_min UserRoleMinAggregateOutputType No
_max UserRoleMaxAggregateOutputType No


RoleGroupByOutputType

Name Type Nullable
id Int Yes
name String Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count RoleCountAggregateOutputType No
_avg RoleAvgAggregateOutputType No
_sum RoleSumAggregateOutputType No
_min RoleMinAggregateOutputType No
_max RoleMaxAggregateOutputType No


RolePermissionGroupByOutputType

Name Type Nullable
id Int Yes
roleId Int Yes
permissionId Int Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count RolePermissionCountAggregateOutputType No
_avg RolePermissionAvgAggregateOutputType No
_sum RolePermissionSumAggregateOutputType No
_min RolePermissionMinAggregateOutputType No
_max RolePermissionMaxAggregateOutputType No


PermissionGroupByOutputType

Name Type Nullable
id Int Yes
resource String Yes
accessType AccessType Yes
createdAt DateTime Yes
updatedAt DateTime Yes
_count PermissionCountAggregateOutputType No
_avg PermissionAvgAggregateOutputType No
_sum PermissionSumAggregateOutputType No
_min PermissionMinAggregateOutputType No
_max PermissionMaxAggregateOutputType No

AffectedRowsOutput

Name Type Nullable
count Int Yes

ProductCountOutputType

Name Type Nullable
orderDetail Int Yes
cartItem Int Yes
productInventory Int Yes
productImage Int Yes
reviews Int Yes

ProductCountAggregateOutputType

Name Type Nullable
id Int Yes
productName Int Yes
productDesc Int Yes
shortDesc Int Yes
grade Int Yes
sku Int Yes
price Int Yes
msrp Int Yes
size Int Yes
weight Int Yes
weightUnit Int Yes
features Int Yes
quantity Int Yes
soldQuantity Int Yes
isActive Int Yes
isAvailable Int Yes
slug Int Yes
imageUrl Int Yes
createdAt Int Yes
updatedAt Int Yes
categoryId Int Yes
_all Int Yes

ProductAvgAggregateOutputType

Name Type Nullable
id Float No
price Decimal No
msrp Decimal No
weight Decimal No
quantity Float No
soldQuantity Float No
categoryId Float No

ProductSumAggregateOutputType

Name Type Nullable
id Int No
price Decimal No
msrp Decimal No
weight Decimal No
quantity Int No
soldQuantity Int No
categoryId Int No

ProductMinAggregateOutputType

Name Type Nullable
id Int No
productName String No
productDesc String No
shortDesc String No
grade Grade No
sku String No
price Decimal No
msrp Decimal No
size String No
weight Decimal No
weightUnit String No
quantity Int No
soldQuantity Int No
isActive Boolean No
isAvailable Boolean No
slug String No
imageUrl String No
createdAt DateTime No
updatedAt DateTime No
categoryId Int No

ProductMaxAggregateOutputType

Name Type Nullable
id Int No
productName String No
productDesc String No
shortDesc String No
grade Grade No
sku String No
price Decimal No
msrp Decimal No
size String No
weight Decimal No
weightUnit String No
quantity Int No
soldQuantity Int No
isActive Boolean No
isAvailable Boolean No
slug String No
imageUrl String No
createdAt DateTime No
updatedAt DateTime No
categoryId Int No

CategoryCountOutputType

Name Type Nullable
childCategories Int Yes
product Int Yes
promotionCategory Int Yes

CategoryCountAggregateOutputType

Name Type Nullable
id Int Yes
categoryName Int Yes
categoryDesc Int Yes
slug Int Yes
createdAt Int Yes
updatedAt Int Yes
parentCategoryId Int Yes
_all Int Yes

CategoryAvgAggregateOutputType

Name Type Nullable
id Float No
parentCategoryId Float No

CategorySumAggregateOutputType

Name Type Nullable
id Int No
parentCategoryId Int No

CategoryMinAggregateOutputType

Name Type Nullable
id Int No
categoryName String No
categoryDesc String No
slug String No
createdAt DateTime No
updatedAt DateTime No
parentCategoryId Int No

CategoryMaxAggregateOutputType

Name Type Nullable
id Int No
categoryName String No
categoryDesc String No
slug String No
createdAt DateTime No
updatedAt DateTime No
parentCategoryId Int No

ProductInventoryCountAggregateOutputType

Name Type Nullable
id Int Yes
quantity Int Yes
reStockLevel Int Yes
status Int Yes
createdAt Int Yes
updatedAt Int Yes
productId Int Yes
_all Int Yes

ProductInventoryAvgAggregateOutputType

Name Type Nullable
id Float No
quantity Float No
reStockLevel Float No
productId Float No

ProductInventorySumAggregateOutputType

Name Type Nullable
id Int No
quantity Int No
reStockLevel Int No
productId Int No

ProductInventoryMinAggregateOutputType

Name Type Nullable
id Int No
quantity Int No
reStockLevel Int No
status InventoryStatus No
createdAt DateTime No
updatedAt DateTime No
productId Int No

ProductInventoryMaxAggregateOutputType

Name Type Nullable
id Int No
quantity Int No
reStockLevel Int No
status InventoryStatus No
createdAt DateTime No
updatedAt DateTime No
productId Int No

ProductImageCountAggregateOutputType

Name Type Nullable
id Int Yes
imageUrl Int Yes
productId Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

ProductImageAvgAggregateOutputType

Name Type Nullable
id Float No
productId Float No

ProductImageSumAggregateOutputType

Name Type Nullable
id Int No
productId Int No

ProductImageMinAggregateOutputType

Name Type Nullable
id Int No
imageUrl String No
productId Int No
createdAt DateTime No
updatedAt DateTime No

ProductImageMaxAggregateOutputType

Name Type Nullable
id Int No
imageUrl String No
productId Int No
createdAt DateTime No
updatedAt DateTime No

UserCountOutputType

Name Type Nullable
authoredReviews Int Yes
roles Int Yes
paymentMethod Int Yes
orders Int Yes

UserCountAggregateOutputType

Name Type Nullable
id Int Yes
email Int Yes
createdAt Int Yes
updatedAt Int Yes
preference Int Yes
balance Int Yes
_all Int Yes

UserAvgAggregateOutputType

Name Type Nullable
id Float No
balance Float No

UserSumAggregateOutputType

Name Type Nullable
id Int No
balance Int No

UserMinAggregateOutputType

Name Type Nullable
id Int No
email String No
createdAt DateTime No
updatedAt DateTime No
balance Int No

UserMaxAggregateOutputType

Name Type Nullable
id Int No
email String No
createdAt DateTime No
updatedAt DateTime No
balance Int No

LoginCountAggregateOutputType

Name Type Nullable
id Int Yes
username Int Yes
password Int Yes
failedAttempts Int Yes
lockoutTime Int Yes
lastLogin Int Yes
userId Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

LoginAvgAggregateOutputType

Name Type Nullable
failedAttempts Float No
userId Float No

LoginSumAggregateOutputType

Name Type Nullable
failedAttempts Int No
userId Int No

LoginMinAggregateOutputType

Name Type Nullable
id String No
username String No
password String No
failedAttempts Int No
lockoutTime DateTime No
lastLogin DateTime No
userId Int No
createdAt DateTime No
updatedAt DateTime No

LoginMaxAggregateOutputType

Name Type Nullable
id String No
username String No
password String No
failedAttempts Int No
lockoutTime DateTime No
lastLogin DateTime No
userId Int No
createdAt DateTime No
updatedAt DateTime No

AuthenticationTokenCountAggregateOutputType

Name Type Nullable
id Int Yes
token Int Yes
expiry Int Yes
userId Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

AuthenticationTokenAvgAggregateOutputType

Name Type Nullable
id Float No
userId Float No

AuthenticationTokenSumAggregateOutputType

Name Type Nullable
id Int No
userId Int No

AuthenticationTokenMinAggregateOutputType

Name Type Nullable
id Int No
token String No
expiry DateTime No
userId Int No
createdAt DateTime No
updatedAt DateTime No

AuthenticationTokenMaxAggregateOutputType

Name Type Nullable
id Int No
token String No
expiry DateTime No
userId Int No
createdAt DateTime No
updatedAt DateTime No

UserProfileCountOutputType

Name Type Nullable
userAddress Int Yes
socialLinks Int Yes

UserProfileCountAggregateOutputType

Name Type Nullable
id Int Yes
firstName Int Yes
lastName Int Yes
phone Int Yes
birthDate Int Yes
gender Int Yes
photo Int Yes
bio Int Yes
userId Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

UserProfileAvgAggregateOutputType

Name Type Nullable
id Float No
userId Float No

UserProfileSumAggregateOutputType

Name Type Nullable
id Int No
userId Int No

UserProfileMinAggregateOutputType

Name Type Nullable
id Int No
firstName String No
lastName String No
phone String No
birthDate DateTime No
gender Gender No
photo String No
bio String No
userId Int No
createdAt DateTime No
updatedAt DateTime No

UserProfileMaxAggregateOutputType

Name Type Nullable
id Int No
firstName String No
lastName String No
phone String No
birthDate DateTime No
gender Gender No
photo String No
bio String No
userId Int No
createdAt DateTime No
updatedAt DateTime No

UserAddressCountAggregateOutputType

Name Type Nullable
id Int Yes
userProfileId Int Yes
addressId Int Yes
isDefault Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

UserAddressAvgAggregateOutputType

Name Type Nullable
id Float No
userProfileId Float No
addressId Float No

UserAddressSumAggregateOutputType

Name Type Nullable
id Int No
userProfileId Int No
addressId Int No

UserAddressMinAggregateOutputType

Name Type Nullable
id Int No
userProfileId Int No
addressId Int No
isDefault Boolean No
createdAt DateTime No
updatedAt DateTime No

UserAddressMaxAggregateOutputType

Name Type Nullable
id Int No
userProfileId Int No
addressId Int No
isDefault Boolean No
createdAt DateTime No
updatedAt DateTime No

AddressCountOutputType

Name Type Nullable
userAddress Int Yes
paymentDetail Int Yes
shippingDetail Int Yes

AddressCountAggregateOutputType

Name Type Nullable
id Int Yes
street Int Yes
unit Int Yes
city Int Yes
zipcode Int Yes
state Int Yes
country Int Yes
planet Int Yes
solarSystem Int Yes
galaxy Int Yes
localGroup Int Yes
localCluster Int Yes
universe Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

AddressAvgAggregateOutputType

Name Type Nullable
id Float No

AddressSumAggregateOutputType

Name Type Nullable
id Int No

AddressMinAggregateOutputType

Name Type Nullable
id Int No
street String No
unit String No
city String No
zipcode String No
state String No
country String No
planet String No
solarSystem String No
galaxy String No
localGroup String No
localCluster String No
universe String No
createdAt DateTime No
updatedAt DateTime No

AddressMaxAggregateOutputType

Name Type Nullable
id Int No
street String No
unit String No
city String No
zipcode String No
state String No
country String No
planet String No
solarSystem String No
galaxy String No
localGroup String No
localCluster String No
universe String No
createdAt DateTime No
updatedAt DateTime No

SocialLinkCountAggregateOutputType

Name Type Nullable
id Int Yes
userProfileId Int Yes
socialProvider Int Yes
socialUrl Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

SocialLinkAvgAggregateOutputType

Name Type Nullable
id Float No
userProfileId Float No

SocialLinkSumAggregateOutputType

Name Type Nullable
id Int No
userProfileId Int No

SocialLinkMinAggregateOutputType

Name Type Nullable
id Int No
userProfileId Int No
socialProvider String No
socialUrl String No
createdAt DateTime No
updatedAt DateTime No

SocialLinkMaxAggregateOutputType

Name Type Nullable
id Int No
userProfileId Int No
socialProvider String No
socialUrl String No
createdAt DateTime No
updatedAt DateTime No

UserReviewCountAggregateOutputType

Name Type Nullable
id Int Yes
title Int Yes
message Int Yes
rating Int Yes
authorId Int Yes
productId Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

UserReviewAvgAggregateOutputType

Name Type Nullable
id Float No
rating Float No
authorId Float No
productId Float No

UserReviewSumAggregateOutputType

Name Type Nullable
id Int No
rating Int No
authorId Int No
productId Int No

UserReviewMinAggregateOutputType

Name Type Nullable
id Int No
title String No
message String No
rating Int No
authorId Int No
productId Int No
createdAt DateTime No
updatedAt DateTime No

UserReviewMaxAggregateOutputType

Name Type Nullable
id Int No
title String No
message String No
rating Int No
authorId Int No
productId Int No
createdAt DateTime No
updatedAt DateTime No

PromotionCategoryCountAggregateOutputType

Name Type Nullable
id Int Yes
categoryId Int Yes
promotionId Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

PromotionCategoryAvgAggregateOutputType

Name Type Nullable
id Float No
categoryId Float No
promotionId Float No

PromotionCategorySumAggregateOutputType

Name Type Nullable
id Int No
categoryId Int No
promotionId Int No

PromotionCategoryMinAggregateOutputType

Name Type Nullable
id Int No
categoryId Int No
promotionId Int No
createdAt DateTime No
updatedAt DateTime No

PromotionCategoryMaxAggregateOutputType

Name Type Nullable
id Int No
categoryId Int No
promotionId Int No
createdAt DateTime No
updatedAt DateTime No

PromotionCountOutputType

Name Type Nullable
promotionCategory Int Yes

PromotionCountAggregateOutputType

Name Type Nullable
id Int Yes
promotionName Int Yes
promotionDesc Int Yes
promotionRate Int Yes
isActive Int Yes
startDate Int Yes
endDate Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

PromotionAvgAggregateOutputType

Name Type Nullable
id Float No
promotionRate Float No

PromotionSumAggregateOutputType

Name Type Nullable
id Int No
promotionRate Int No

PromotionMinAggregateOutputType

Name Type Nullable
id Int No
promotionName String No
promotionDesc String No
promotionRate Int No
isActive Boolean No
startDate DateTime No
endDate DateTime No
createdAt DateTime No
updatedAt DateTime No

PromotionMaxAggregateOutputType

Name Type Nullable
id Int No
promotionName String No
promotionDesc String No
promotionRate Int No
isActive Boolean No
startDate DateTime No
endDate DateTime No
createdAt DateTime No
updatedAt DateTime No

CartItemCountAggregateOutputType

Name Type Nullable
id Int Yes
cartId Int Yes
productId Int Yes
quantity Int Yes
promotionId Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

CartItemAvgAggregateOutputType

Name Type Nullable
id Float No
cartId Float No
productId Float No
quantity Float No
promotionId Float No

CartItemSumAggregateOutputType

Name Type Nullable
id Int No
cartId Int No
productId Int No
quantity Int No
promotionId Int No

CartItemMinAggregateOutputType

Name Type Nullable
id Int No
cartId Int No
productId Int No
quantity Int No
promotionId Int No
createdAt DateTime No
updatedAt DateTime No

CartItemMaxAggregateOutputType

Name Type Nullable
id Int No
cartId Int No
productId Int No
quantity Int No
promotionId Int No
createdAt DateTime No
updatedAt DateTime No

CartCountOutputType

Name Type Nullable
cartItems Int Yes

CartCountAggregateOutputType

Name Type Nullable
id Int Yes
userId Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

CartAvgAggregateOutputType

Name Type Nullable
id Float No
userId Float No

CartSumAggregateOutputType

Name Type Nullable
id Int No
userId Int No

CartMinAggregateOutputType

Name Type Nullable
id Int No
userId Int No
createdAt DateTime No
updatedAt DateTime No

CartMaxAggregateOutputType

Name Type Nullable
id Int No
userId Int No
createdAt DateTime No
updatedAt DateTime No

OrderCountOutputType

Name Type Nullable
orderDetail Int Yes

OrderCountAggregateOutputType

Name Type Nullable
id Int Yes
status Int Yes
tax Int Yes
total Int Yes
createdAt Int Yes
userId Int Yes
updatedAt Int Yes
_all Int Yes

OrderAvgAggregateOutputType

Name Type Nullable
tax Decimal No
total Decimal No
userId Float No

OrderSumAggregateOutputType

Name Type Nullable
tax Decimal No
total Decimal No
userId Int No

OrderMinAggregateOutputType

Name Type Nullable
id String No
status OrderStatusType No
tax Decimal No
total Decimal No
createdAt DateTime No
userId Int No
updatedAt DateTime No

OrderMaxAggregateOutputType

Name Type Nullable
id String No
status OrderStatusType No
tax Decimal No
total Decimal No
createdAt DateTime No
userId Int No
updatedAt DateTime No

OrderDetailCountAggregateOutputType

Name Type Nullable
id Int Yes
orderId Int Yes
productId Int Yes
quantity Int Yes
total Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

OrderDetailAvgAggregateOutputType

Name Type Nullable
id Float No
productId Float No
quantity Float No
total Decimal No

OrderDetailSumAggregateOutputType

Name Type Nullable
id Int No
productId Int No
quantity Int No
total Decimal No

OrderDetailMinAggregateOutputType

Name Type Nullable
id Int No
orderId String No
productId Int No
quantity Int No
total Decimal No
createdAt DateTime No
updatedAt DateTime No

OrderDetailMaxAggregateOutputType

Name Type Nullable
id Int No
orderId String No
productId Int No
quantity Int No
total Decimal No
createdAt DateTime No
updatedAt DateTime No

PaymentDetailCountOutputType

Name Type Nullable
paymentMethod Int Yes

PaymentDetailCountAggregateOutputType

Name Type Nullable
id Int Yes
billingAddressId Int Yes
orderId Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

PaymentDetailAvgAggregateOutputType

Name Type Nullable
id Float No
billingAddressId Float No

PaymentDetailSumAggregateOutputType

Name Type Nullable
id Int No
billingAddressId Int No

PaymentDetailMinAggregateOutputType

Name Type Nullable
id Int No
billingAddressId Int No
orderId String No
createdAt DateTime No
updatedAt DateTime No

PaymentDetailMaxAggregateOutputType

Name Type Nullable
id Int No
billingAddressId Int No
orderId String No
createdAt DateTime No
updatedAt DateTime No

PaymentOptionCountOutputType

Name Type Nullable
paymentMethod Int Yes

PaymentOptionCountAggregateOutputType

Name Type Nullable
id Int Yes
paymentType Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

PaymentOptionAvgAggregateOutputType

Name Type Nullable
id Float No

PaymentOptionSumAggregateOutputType

Name Type Nullable
id Int No

PaymentOptionMinAggregateOutputType

Name Type Nullable
id Int No
paymentType PaymentType No
createdAt DateTime No
updatedAt DateTime No

PaymentOptionMaxAggregateOutputType

Name Type Nullable
id Int No
paymentType PaymentType No
createdAt DateTime No
updatedAt DateTime No

PaymentMethodCountAggregateOutputType

Name Type Nullable
id Int Yes
userId Int Yes
paymentDetailId Int Yes
paymentOptionId Int Yes
cardProvider Int Yes
nameOnCard Int Yes
isDefault Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

PaymentMethodAvgAggregateOutputType

Name Type Nullable
id Float No
userId Float No
paymentDetailId Float No
paymentOptionId Float No

PaymentMethodSumAggregateOutputType

Name Type Nullable
id Int No
userId Int No
paymentDetailId Int No
paymentOptionId Int No

PaymentMethodMinAggregateOutputType

Name Type Nullable
id Int No
userId Int No
paymentDetailId Int No
paymentOptionId Int No
cardProvider String No
nameOnCard String No
isDefault Boolean No
createdAt DateTime No
updatedAt DateTime No

PaymentMethodMaxAggregateOutputType

Name Type Nullable
id Int No
userId Int No
paymentDetailId Int No
paymentOptionId Int No
cardProvider String No
nameOnCard String No
isDefault Boolean No
createdAt DateTime No
updatedAt DateTime No

ShippingDetailCountAggregateOutputType

Name Type Nullable
id Int Yes
estimatedArrival Int Yes
shippingAddressId Int Yes
shippingMethodId Int Yes
orderId Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

ShippingDetailAvgAggregateOutputType

Name Type Nullable
id Float No
shippingAddressId Float No
shippingMethodId Float No

ShippingDetailSumAggregateOutputType

Name Type Nullable
id Int No
shippingAddressId Int No
shippingMethodId Int No

ShippingDetailMinAggregateOutputType

Name Type Nullable
id Int No
estimatedArrival DateTime No
shippingAddressId Int No
shippingMethodId Int No
orderId String No
createdAt DateTime No
updatedAt DateTime No

ShippingDetailMaxAggregateOutputType

Name Type Nullable
id Int No
estimatedArrival DateTime No
shippingAddressId Int No
shippingMethodId Int No
orderId String No
createdAt DateTime No
updatedAt DateTime No

ShippingMethodCountOutputType

Name Type Nullable
shippingDetail Int Yes

ShippingMethodCountAggregateOutputType

Name Type Nullable
id Int Yes
name Int Yes
price Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

ShippingMethodAvgAggregateOutputType

Name Type Nullable
id Float No
price Decimal No

ShippingMethodSumAggregateOutputType

Name Type Nullable
id Int No
price Decimal No

ShippingMethodMinAggregateOutputType

Name Type Nullable
id Int No
name String No
price Decimal No
createdAt DateTime No
updatedAt DateTime No

ShippingMethodMaxAggregateOutputType

Name Type Nullable
id Int No
name String No
price Decimal No
createdAt DateTime No
updatedAt DateTime No

InvoiceCountAggregateOutputType

Name Type Nullable
id Int Yes
_all Int Yes

InvoiceMinAggregateOutputType

Name Type Nullable
id String No

InvoiceMaxAggregateOutputType

Name Type Nullable
id String No

UserRoleCountAggregateOutputType

Name Type Nullable
id Int Yes
userId Int Yes
roleId Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

UserRoleAvgAggregateOutputType

Name Type Nullable
id Float No
userId Float No
roleId Float No

UserRoleSumAggregateOutputType

Name Type Nullable
id Int No
userId Int No
roleId Int No

UserRoleMinAggregateOutputType

Name Type Nullable
id Int No
userId Int No
roleId Int No
createdAt DateTime No
updatedAt DateTime No

UserRoleMaxAggregateOutputType

Name Type Nullable
id Int No
userId Int No
roleId Int No
createdAt DateTime No
updatedAt DateTime No

RoleCountOutputType

Name Type Nullable
users Int Yes
permissions Int Yes

RoleCountAggregateOutputType

Name Type Nullable
id Int Yes
name Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

RoleAvgAggregateOutputType

Name Type Nullable
id Float No

RoleSumAggregateOutputType

Name Type Nullable
id Int No

RoleMinAggregateOutputType

Name Type Nullable
id Int No
name String No
createdAt DateTime No
updatedAt DateTime No

RoleMaxAggregateOutputType

Name Type Nullable
id Int No
name String No
createdAt DateTime No
updatedAt DateTime No

RolePermissionCountAggregateOutputType

Name Type Nullable
id Int Yes
roleId Int Yes
permissionId Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

RolePermissionAvgAggregateOutputType

Name Type Nullable
id Float No
roleId Float No
permissionId Float No

RolePermissionSumAggregateOutputType

Name Type Nullable
id Int No
roleId Int No
permissionId Int No

RolePermissionMinAggregateOutputType

Name Type Nullable
id Int No
roleId Int No
permissionId Int No
createdAt DateTime No
updatedAt DateTime No

RolePermissionMaxAggregateOutputType

Name Type Nullable
id Int No
roleId Int No
permissionId Int No
createdAt DateTime No
updatedAt DateTime No

PermissionCountOutputType

Name Type Nullable
roles Int Yes

PermissionCountAggregateOutputType

Name Type Nullable
id Int Yes
resource Int Yes
accessType Int Yes
createdAt Int Yes
updatedAt Int Yes
_all Int Yes

PermissionAvgAggregateOutputType

Name Type Nullable
id Float No

PermissionSumAggregateOutputType

Name Type Nullable
id Int No

PermissionMinAggregateOutputType

Name Type Nullable
id Int No
resource String No
accessType AccessType No
createdAt DateTime No
updatedAt DateTime No

PermissionMaxAggregateOutputType

Name Type Nullable
id Int No
resource String No
accessType AccessType No
createdAt DateTime No
updatedAt DateTime No